iwlwifi: do not base station's sm_ps setting on AP
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 6 Nov 2009 22:52:56 +0000 (14:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 20:23:45 +0000 (15:23 -0500)
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>
drivers/net/wireless/iwlwifi/iwl-core.c

index e0edc607e33f277fcb25d24ad5f84f14dc9731fe..d09e748153238ecbb78ca4a59f343a0d6a5c5f5c 100644 (file)
@@ -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;
This page took 0.02653 seconds and 5 git commands to generate.