staging: wfx: drop unnecessary filter configuration when disabling filter
Currently, when mac80211 want to disable beacon filtering, the driver reset the filter table and disable the beacon filtering. Only the latter action is required. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200515083325.378539-16-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
f75818c251
Коммит
ac0e50a5a3
|
@ -84,7 +84,6 @@ static void wfx_filter_beacon(struct wfx_vif *wvif, bool filter_beacon)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!filter_beacon) {
|
if (!filter_beacon) {
|
||||||
hif_set_beacon_filter_table(wvif, 0, NULL);
|
|
||||||
hif_beacon_filter_control(wvif, 0, 1);
|
hif_beacon_filter_control(wvif, 0, 1);
|
||||||
} else {
|
} else {
|
||||||
hif_set_beacon_filter_table(wvif, 3, filter_ies);
|
hif_set_beacon_filter_table(wvif, 3, filter_ies);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче