summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-06-03 07:54:12 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-06-03 15:16:36 -0400
commit88e9ba76bf906d8106d5f64856eba6e6d6777003 (patch)
tree6455211755953c77e8f19dfd37cad01f5b3446f1
parent0c34861e7c66435ab0986509ec20055c402f29d8 (diff)
downloadop-kernel-dev-88e9ba76bf906d8106d5f64856eba6e6d6777003.zip
op-kernel-dev-88e9ba76bf906d8106d5f64856eba6e6d6777003.tar.gz
iwlagn: save the latest smps mode
When change smps mode due to bt coex, save it Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index 4ab77c8..677f73c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -1797,6 +1797,7 @@ static void iwlagn_bt_traffic_change_work(struct work_struct *work)
priv->cfg->ops->lib->update_chain_flags(priv);
if (smps_request != -1) {
+ priv->current_ht_config.smps = smps_request;
for_each_context(priv, ctx) {
if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION)
ieee80211_request_smps(ctx->vif, smps_request);
OpenPOWER on IntegriCloud