From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date: Sat, 23 Jul 2011 17:24:41 +0000 (-0700)
Subject: iwlagn: default smps mode for 1000 series device
X-Git-Tag: MMI-PSA29.97-13-9~18194^2~254^2~382
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=946572b294ccc3e68dabd89e262bbff7685f7a2e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git

iwlagn: default smps mode for 1000 series device

1000 series are 1x2 devices, the old default using static smps which only
use single antenna for rx, set the default to dynamic smps.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---

diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c
index 65e9367cbef5..044328652f01 100644
--- a/drivers/net/wireless/iwlwifi/iwl-1000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-1000.c
@@ -200,7 +200,7 @@ static struct iwl_base_params iwl1000_base_params = {
 static struct iwl_ht_params iwl1000_ht_params = {
 	.ht_greenfield_support = true,
 	.use_rts_for_aggregation = true, /* use rts/cts protection */
-	.smps_mode = IEEE80211_SMPS_STATIC,
+	.smps_mode = IEEE80211_SMPS_DYNAMIC,
 };
 
 #define IWL_DEVICE_1000						\