diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-11-23 16:22:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:04:27 -0500 |
commit | 03442a33174b1d9f6f8eb8c3c2e8a9cf4b75fffe (patch) | |
tree | adeae638cdfa9d629a4f4448fe6763fc1773ec03 | |
parent | 461fa136bb120f5b6b7d5814888a7211dbbd211b (diff) |
wl1271: Set PSM support flags in driver configuration
Set the PSM support flag in the device configuration
for the mac80211 stack. This will enable usage of powersave.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index 43fdd45f8401..90916ed63b45 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -1753,7 +1753,8 @@ static int wl1271_init_ieee80211(struct wl1271 *wl) | |||
1753 | 1753 | ||
1754 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | | 1754 | wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | |
1755 | IEEE80211_HW_NOISE_DBM | | 1755 | IEEE80211_HW_NOISE_DBM | |
1756 | IEEE80211_HW_BEACON_FILTER; | 1756 | IEEE80211_HW_BEACON_FILTER | |
1757 | IEEE80211_HW_SUPPORTS_PS; | ||
1757 | 1758 | ||
1758 | wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); | 1759 | wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); |
1759 | wl->hw->wiphy->max_scan_ssids = 1; | 1760 | wl->hw->wiphy->max_scan_ssids = 1; |