wifi: mac80211: Allow beacons to update BSS table regardless of scan
authorIlan Peer <ilan.peer@intel.com>
Wed, 28 Feb 2024 08:47:39 +0000 (09:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:31:40 +0000 (14:31 +0100)
commitddf82e752f8a3253e03fe4c0a957792701f8b2e6
tree28f5b36f3aa1230a8ec03900affd508f339a2848
parent04577bfa99ac8cfb7a43dbbba09584e0b1086cee
wifi: mac80211: Allow beacons to update BSS table regardless of scan

When a beacon is received use it to update the BSS table regardless
of the scanning state. Do so only when there are active non-monitor
interfaces. Also, while at it, in any case accept beacons only with
broadcast address.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Link: https://msgid.link/20240228094742.e508605f495b.I3ab24ab3543319e31165111b28bcdcc622b5cf02@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/scan.c