aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1251_main.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-11-17 11:48:30 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-18 17:09:20 -0500
commit6b21a2cd315e2e56a1748bd3ef9d910fe4f2e711 (patch)
treebf95a7ff4215c1fa9db214f28c9db284838b5580 /drivers/net/wireless/wl12xx/wl1251_main.c
parent287f6f9672635f4e948c0aa96754a2ce448ebdb2 (diff)
wl1251: Configure beacon filtering on if PSM used
Enable beacon filtering when PSM is enabled Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_main.c3
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 601c43070296..900e6e2796fc 100644
--- a/drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
@@ -1323,7 +1323,8 @@ int wl1251_init_ieee80211(struct wl1251 *wl)
1323 1323
1324 wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | 1324 wl->hw->flags = IEEE80211_HW_SIGNAL_DBM |
1325 IEEE80211_HW_NOISE_DBM | 1325 IEEE80211_HW_NOISE_DBM |
1326 IEEE80211_HW_SUPPORTS_PS; 1326 IEEE80211_HW_SUPPORTS_PS |
1327 IEEE80211_HW_BEACON_FILTER;
1327 1328
1328 wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); 1329 wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
1329 wl->hw->wiphy->max_scan_ssids = 1; 1330 wl->hw->wiphy->max_scan_ssids = 1;