diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-11-10 06:55:04 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-11 12:32:52 -0500 |
commit | b2ccccdca46273c7b321ecf5041c362cd950da20 (patch) | |
tree | 27faff45ba7da3ed4e3f6913ab6b735498720409 /drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |
parent | 75a56eccb01fcc3c1ae8000130f3c9b3c8ec68d9 (diff) | |
download | talos-obmc-linux-b2ccccdca46273c7b321ecf5041c362cd950da20.tar.gz talos-obmc-linux-b2ccccdca46273c7b321ecf5041c362cd950da20.zip |
iwlagn: check for SMPS mode
Check and report WARN only when its invalid
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-lib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 1 |
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 1a52ed29f2d6..6465983fef34 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c @@ -827,6 +827,7 @@ static int iwl_get_idle_rx_chain_count(struct iwl_priv *priv, int active_cnt) case IEEE80211_SMPS_STATIC: case IEEE80211_SMPS_DYNAMIC: return IWL_NUM_IDLE_CHAINS_SINGLE; + case IEEE80211_SMPS_AUTOMATIC: case IEEE80211_SMPS_OFF: return active_cnt; default: |