Commit 6762f07f authored by Wey-Yi Guy's avatar Wey-Yi Guy Committed by John W. Linville
Browse files

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: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 740e7f51
...@@ -2316,12 +2316,6 @@ static void iwl_ht_conf(struct iwl_priv *priv, ...@@ -2316,12 +2316,6 @@ static void iwl_ht_conf(struct iwl_priv *priv,
>> IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT; >> IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT;
maxstreams += 1; 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) && if ((ht_cap->mcs.rx_mask[1] == 0) &&
(ht_cap->mcs.rx_mask[2] == 0)) (ht_cap->mcs.rx_mask[2] == 0))
ht_conf->single_chain_sufficient = true; ht_conf->single_chain_sufficient = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment