diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-03-18 06:26:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-23 16:50:24 -0400 |
commit | 14b228a0d4234e4a2d4e683052da78760e8abf0f (patch) | |
tree | 71b0ddf8093169441720c32cb45bf1e297b73944 /drivers/net/wireless/wl12xx/wl1271_cmd.c | |
parent | 801a673ed1b36fc0e7dd92d8bb0090a4dc26a7d0 (diff) |
wl1271: Update filters properly
This patch adds support for the filters configured by the mac80211 stack.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_cmd.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_cmd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.c b/drivers/net/wireless/wl12xx/wl1271_cmd.c index 0cbb0e1e3d40..035ddc06034c 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.c +++ b/drivers/net/wireless/wl12xx/wl1271_cmd.c | |||
@@ -281,15 +281,6 @@ int wl1271_cmd_join(struct wl1271 *wl, u8 bss_type) | |||
281 | join->rx_filter_options = cpu_to_le32(wl->rx_filter); | 281 | join->rx_filter_options = cpu_to_le32(wl->rx_filter); |
282 | join->bss_type = bss_type; | 282 | join->bss_type = bss_type; |
283 | 283 | ||
284 | /* | ||
285 | * FIXME: disable temporarily all filters because after commit | ||
286 | * 9cef8737 "mac80211: fix managed mode BSSID handling" broke | ||
287 | * association. The filter logic needs to be implemented properly | ||
288 | * and once that is done, this hack can be removed. | ||
289 | */ | ||
290 | join->rx_config_options = cpu_to_le32(0); | ||
291 | join->rx_filter_options = cpu_to_le32(WL1271_DEFAULT_RX_FILTER); | ||
292 | |||
293 | if (wl->band == IEEE80211_BAND_2GHZ) | 284 | if (wl->band == IEEE80211_BAND_2GHZ) |
294 | join->basic_rate_set = cpu_to_le32(CONF_HW_BIT_RATE_1MBPS | | 285 | join->basic_rate_set = cpu_to_le32(CONF_HW_BIT_RATE_1MBPS | |
295 | CONF_HW_BIT_RATE_2MBPS | | 286 | CONF_HW_BIT_RATE_2MBPS | |