diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2009-10-27 11:36:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-30 16:49:18 -0400 |
commit | 8c8746f9db8b1f644695050703e2d38cd5964ba7 (patch) | |
tree | f97e24e1802df3bb86feaa109e2b6193b1efbf6b /drivers/net/wireless | |
parent | a9685338ab9d331c25ca92b0e8a92631e14c6b45 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c index 48b0bfd6c55..da3bf1cebc0 100644 --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl12xx/wl1251_main.c | |||
@@ -1311,7 +1311,8 @@ int wl1251_init_ieee80211(struct wl1251 *wl) | |||
1311 | wl->hw->channel_change_time = 10000; | 1311 | wl->hw->channel_change_time = 10000; |
1312 | 1312 | ||
1313 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | | 1313 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | |
1314 | IEEE80211_HW_NOISE_DBM; | 1314 | IEEE80211_HW_NOISE_DBM | |
1315 | IEEE80211_HW_SUPPORTS_PS; | ||
1315 | 1316 | ||
1316 | wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); | 1317 | wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); |
1317 | wl->hw->wiphy->max_scan_ssids = 1; | 1318 | wl->hw->wiphy->max_scan_ssids = 1; |