Browse Source

wl1251: enable power save

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>
Kalle Valo 15 years ago
parent
commit
8c8746f9db
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/net/wireless/wl12xx/wl1251_main.c

+ 2 - 1
drivers/net/wireless/wl12xx/wl1251_main.c

@@ -1311,7 +1311,8 @@ int wl1251_init_ieee80211(struct wl1251 *wl)
 	wl->hw->channel_change_time = 10000;
 	wl->hw->channel_change_time = 10000;
 
 
 	wl->hw->flags = IEEE80211_HW_SIGNAL_DBM |
 	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->interface_modes = BIT(NL80211_IFTYPE_STATION);
 	wl->hw->wiphy->max_scan_ssids = 1;
 	wl->hw->wiphy->max_scan_ssids = 1;