]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/mac80211/main.c
mac80211: add probe request filter flag
[mirror_ubuntu-bionic-kernel.git] / net / mac80211 / main.c
index 915ecf87e4acedf574fae7b342ad0327d1748806..5162303a8b4a07538b438f1f02f3190143c65667 100644 (file)
@@ -54,6 +54,9 @@ void ieee80211_configure_filter(struct ieee80211_local *local)
        if (local->monitors || local->scanning)
                new_flags |= FIF_BCN_PRBRESP_PROMISC;
 
+       if (local->fif_probe_req || local->probe_req_reg)
+               new_flags |= FIF_PROBE_REQ;
+
        if (local->fif_fcsfail)
                new_flags |= FIF_FCSFAIL;