summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/wfx/sta.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c
index 7c8ebd76114e..0b2ef2d3023b 100644
--- a/drivers/staging/wfx/sta.c
+++ b/drivers/staging/wfx/sta.c
@@ -147,10 +147,6 @@ void wfx_update_filtering(struct wfx_vif *wvif)
if (wvif->disable_beacon_filter) {
hif_set_beacon_filter_table(wvif, 0, NULL);
hif_beacon_filter_control(wvif, 0, 1);
- } else if (wvif->vif->type != NL80211_IFTYPE_STATION) {
- hif_set_beacon_filter_table(wvif, 2, filter_ies);
- hif_beacon_filter_control(wvif, HIF_BEACON_FILTER_ENABLE |
- HIF_BEACON_FILTER_AUTO_ERP, 0);
} else {
hif_set_beacon_filter_table(wvif, 3, filter_ies);
hif_beacon_filter_control(wvif, HIF_BEACON_FILTER_ENABLE, 0);