wifi: cfg80211: pass correct pointer to rdev_inform_bss()
authorBen Greear <greearb@candelatech.com>
Sat, 21 Oct 2023 15:48:27 +0000 (08:48 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 11:24:51 +0000 (13:24 +0200)
commit3e3929ef889e650dd585dc0f4f7f18240688811a
tree1704648269ae2c32302f41b0a9f3f31b4578f985
parentf2ac54ebf85615a6d78f5eb213a8bbeeb17ebe5d
wifi: cfg80211: pass correct pointer to rdev_inform_bss()

Confusing struct member names here resulted in passing
the wrong pointer, causing crashes. Pass the correct one.

Fixes: eb142608e2c4 ("wifi: cfg80211: use a struct for inform_single_bss data")
Signed-off-by: Ben Greear <greearb@candelatech.com>
Link: https://lore.kernel.org/r/20231021154827.1142734-1-greearb@candelatech.com
[rewrite commit message, add fixes]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c