mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
staging: wfx: disabling beacon filtering after hif_reset() is useless
After hif_reset(), device stop to receive any RF data. So, it is useless to disable beacon filtering. In add, if necessary, mac80211 will call wfx_configure_filter(). Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200415161147.69738-8-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1ab6bf4c56
commit
eb52d63a6d
@@ -419,8 +419,6 @@ static void wfx_do_unjoin(struct wfx_vif *wvif)
|
||||
cancel_work_sync(&wvif->event_handler_work);
|
||||
wfx_cqm_bssloss_sm(wvif, 0, 0, 0);
|
||||
|
||||
wvif->disable_beacon_filter = false;
|
||||
wfx_update_filtering(wvif);
|
||||
memset(&wvif->bss_params, 0, sizeof(wvif->bss_params));
|
||||
wfx_tx_unlock(wvif->wdev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user