aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2009-06-26 14:00:53 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:02:25 -0400
commitf55e668f902e40a5299deb8cc5940d1d24b19ea0 (patch)
treefd2a539b7e799569f4d415b3f2152912890e3c7f
parent19a42803f310ff60ce5a6c02992762068a01394a (diff)
iwlagn: re-enable PS support for iwlagn
The register locking rework addressed the problem where nic access was obtained incorrectly when PS is enabled. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 7e528a0a15e3..d5cd9a20edca 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -1382,7 +1382,8 @@ int iwl_setup_mac(struct iwl_priv *priv)
1382 hw->flags = IEEE80211_HW_SIGNAL_DBM | 1382 hw->flags = IEEE80211_HW_SIGNAL_DBM |
1383 IEEE80211_HW_NOISE_DBM | 1383 IEEE80211_HW_NOISE_DBM |
1384 IEEE80211_HW_AMPDU_AGGREGATION | 1384 IEEE80211_HW_AMPDU_AGGREGATION |
1385 IEEE80211_HW_SPECTRUM_MGMT; 1385 IEEE80211_HW_SPECTRUM_MGMT |
1386 IEEE80211_HW_SUPPORTS_PS;
1386 hw->wiphy->interface_modes = 1387 hw->wiphy->interface_modes =
1387 BIT(NL80211_IFTYPE_STATION) | 1388 BIT(NL80211_IFTYPE_STATION) |
1388 BIT(NL80211_IFTYPE_ADHOC); 1389 BIT(NL80211_IFTYPE_ADHOC);