diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-11-23 16:15:19 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-23 16:17:21 -0500 |
commit | 54ab040d24904d1fa2c0a6a27936b7c56a4efb24 (patch) | |
tree | 9e1c949d68837a907d939bfa3bbc54ebacbaecfc | |
parent | ceb99fe071eb688255798d89be337affffa2b103 (diff) | |
download | op-kernel-dev-54ab040d24904d1fa2c0a6a27936b7c56a4efb24.zip op-kernel-dev-54ab040d24904d1fa2c0a6a27936b7c56a4efb24.tar.gz |
ath9k: set ps_default as false
Copied from original one-line patch here:
http://bugzilla.kernel.org/show_bug.cgi?id=14267#c26
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 52bed89..43d2be9 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1555,6 +1555,8 @@ void ath_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw) BIT(NL80211_IFTYPE_ADHOC) | BIT(NL80211_IFTYPE_MESH_POINT); + hw->wiphy->ps_default = false; + hw->queues = 4; hw->max_rates = 4; hw->channel_change_time = 5000; |