wifi: cfg80211: search all RNR elements for colocated APs
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 18 Jun 2023 18:50:01 +0000 (21:50 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 11:12:44 +0000 (13:12 +0200)
commit5461707a529c94f6f556847c25c21da5990488ba
tree89b2870fa4b186e0d8c176e0033cde2000572801
parent8dcc91c446687727f88997a2e177cdab740ef092
wifi: cfg80211: search all RNR elements for colocated APs

An AP reporting colocated APs may send more than one reduced neighbor
report element. As such, iterate all elements instead of only parsing
the first one when looking for colocated APs.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230618214436.ffe2c014f478.I372a4f96c88f7ea28ac39e94e0abfc465b5330d4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c