ath9k: set ps_default as false
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Nov 2009 21:15:19 +0000 (16:15 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Nov 2009 21:17:21 +0000 (16:17 -0500)
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>
drivers/net/wireless/ath/ath9k/main.c

index 52bed89063d4e6a0941541683dc116e034ac22fb..43d2be9867fc08e288c5dc3eab5949e0cf1fa96c 100644 (file)
@@ -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;