]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
wl1251: enable power save
authorKalle Valo <kalle.valo@nokia.com>
Tue, 27 Oct 2009 15:36:25 +0000 (17:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Oct 2009 20:49:18 +0000 (16:49 -0400)
wl1251 supports power save and it can be enabled now.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c

index 48b0bfd6c55a6e9ad811d7b37e8a1db81de9d261..da3bf1cebc089ebeab0f2075fcb020dac2bc65e8 100644 (file)
@@ -1311,7 +1311,8 @@ int wl1251_init_ieee80211(struct wl1251 *wl)
        wl->hw->channel_change_time = 10000;
 
        wl->hw->flags = IEEE80211_HW_SIGNAL_DBM |
-               IEEE80211_HW_NOISE_DBM;
+               IEEE80211_HW_NOISE_DBM |
+               IEEE80211_HW_SUPPORTS_PS;
 
        wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
        wl->hw->wiphy->max_scan_ssids = 1;