summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Pouiller <jerome.pouiller@silabs.com>2020-04-15 18:11:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-16 12:29:46 +0200
commitb15973f30852dee46d80ccd2363ece80b2c0317d (patch)
treec4d95f6debb7fb49e5c75cd80c9605fa6c71f92b
parent2c69b2da37824307b4c73cbf7ad98ae82a6a52fe (diff)
staging: wfx: drop useless filter update when starting AP
mac80211 explicitly call wfx_configure_filters() before/after starting AP. Thus, it is not necessary to call wfx_update_filtering() from wfx_start_ap(). Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200415161147.69738-19-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wfx/sta.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c
index 1ccd40a3322f..69a5823af284 100644
--- a/drivers/staging/wfx/sta.c
+++ b/drivers/staging/wfx/sta.c
@@ -579,7 +579,6 @@ int wfx_start_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
wfx_upload_keys(wvif);
wvif->state = WFX_STATE_AP;
- wfx_update_filtering(wvif);
wfx_upload_ap_templates(wvif);
hif_start(wvif, &vif->bss_conf, wvif->channel);
return 0;