From: Wey-Yi Guy Date: Fri, 3 Jun 2011 14:54:12 +0000 (-0700) Subject: iwlagn: save the latest smps mode X-Git-Tag: v3.1-rc1~24^2~10^2^2~504 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88e9ba76bf906d8106d5f64856eba6e6d6777003;p=platform%2Fkernel%2Flinux-exynos.git iwlagn: save the latest smps mode When change smps mode due to bt coex, save it Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- 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);