Commit f41224bd authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman
Browse files

staging: wfx: drop useless call to hif_set_rx_filter()



hif_set_rx_filter() apply changes on filter_prbreq and filter_bssid to
the hardware. Each time filter_prbreq and filter_bssid are changed,
hif_set_rx_filter() is called.

Currently, on extra call to hif_set_rx_filter() is made from
wfx_update_filtering(). This call is useless. Drop it.

Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200415161147.69738-16-Jerome.Pouiller@silabs.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 981132aa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -136,7 +136,6 @@ void wfx_update_filtering(struct wfx_vif *wvif)
		}
	};

	hif_set_rx_filter(wvif, wvif->filter_bssid, wvif->filter_prbreq);
	if (!wvif->filter_beacon) {
		hif_set_beacon_filter_table(wvif, 0, NULL);
		hif_beacon_filter_control(wvif, 0, 1);