Browse Source

Revert "qcacld-3.0: HT20 Protection Mode"

This reverts commit e85300d7533a347dd7e45919293285038db00a82.

Change-Id: Ief91957c0ba7ee1c2efc155f2335d73c37f73c6c
Satish Singh 9 years ago
parent
commit
6774ed099c
1 changed files with 3 additions and 4 deletions
  1. 3 4
      core/mac/src/pe/lim/lim_utils.c

+ 3 - 4
core/mac/src/pe/lim/lim_utils.c

@@ -4256,10 +4256,9 @@ static void lim_handle_ht20protection_enabled(tpAniSirGlobal mac_ctx,
 	} else if (LIM_IS_AP_ROLE(session_entry) && !overlap) {
 		session_entry->gLimHt20Params.protectionEnabled = true;
 		if (eSIR_HT_OP_MODE_PURE == session_entry->htOperMode) {
-			if (session_entry->htSupportedChannelWidthSet !=
-					eHT_CHANNEL_WIDTH_20MHZ)
-				 session_entry->htOperMode =
-					eSIR_HT_OP_MODE_NO_LEGACY_20MHZ_HT;
+			 session_entry->htOperMode =
+				eSIR_HT_OP_MODE_NO_LEGACY_20MHZ_HT;
+
 			lim_enable_ht_rifs_protection(mac_ctx, false,
 				overlap, beaconparams, session_entry);
 			lim_enable_ht_obss_protection(mac_ctx, false,