projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ac54e
)
wifi: cfg80211: pass correct pointer to rdev_inform_bss()
author
Ben Greear
<greearb@candelatech.com>
Sat, 21 Oct 2023 15:48:27 +0000
(08:48 -0700)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 23 Oct 2023 11:24:51 +0000
(13:24 +0200)
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
patch
|
blob
|
history
diff --git
a/net/wireless/scan.c
b/net/wireless/scan.c
index
939deec
..
8210a60
100644
(file)
--- a/
net/wireless/scan.c
+++ b/
net/wireless/scan.c
@@
-2125,7
+2125,7
@@
cfg80211_inform_single_bss_data(struct wiphy *wiphy,
if (!res)
goto drop;
- rdev_inform_bss(rdev, &res->pub, ies, data->drv_data);
+ rdev_inform_bss(rdev, &res->pub, ies, d
rv_d
ata->drv_data);
if (data->bss_source == BSS_SOURCE_MBSSID) {
/* this is a nontransmitting bss, we need to add it to