iwlwifi: do not base station's sm_ps setting on AP
Do not use AP's SM_PS setting for our own SM_PS setting. Reported-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
740e7f51c2
commit
6762f07fd5
|
@ -2316,12 +2316,6 @@ static void iwl_ht_conf(struct iwl_priv *priv,
|
|||
>> IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT;
|
||||
maxstreams += 1;
|
||||
|
||||
ht_conf->sm_ps =
|
||||
(u8)((ht_cap->cap & IEEE80211_HT_CAP_SM_PS)
|
||||
>> 2);
|
||||
IWL_DEBUG_MAC80211(priv, "sm_ps: 0x%x\n",
|
||||
ht_conf->sm_ps);
|
||||
|
||||
if ((ht_cap->mcs.rx_mask[1] == 0) &&
|
||||
(ht_cap->mcs.rx_mask[2] == 0))
|
||||
ht_conf->single_chain_sufficient = true;
|
||||
|
|
Reference in New Issue