Skip to content

Commit 3e3929e

Browse files
greearbjmberg-intel
authored andcommitted
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: eb14260 ("wifi: cfg80211: use a struct for inform_single_bss data") Signed-off-by: Ben Greear <[email protected]> Link: https://lore.kernel.org/r/[email protected] [rewrite commit message, add fixes] Signed-off-by: Johannes Berg <[email protected]>
1 parent f2ac54e commit 3e3929e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/wireless/scan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2125,7 +2125,7 @@ cfg80211_inform_single_bss_data(struct wiphy *wiphy,
21252125
if (!res)
21262126
goto drop;
21272127

2128-
rdev_inform_bss(rdev, &res->pub, ies, data->drv_data);
2128+
rdev_inform_bss(rdev, &res->pub, ies, drv_data->drv_data);
21292129

21302130
if (data->bss_source == BSS_SOURCE_MBSSID) {
21312131
/* this is a nontransmitting bss, we need to add it to

0 commit comments

Comments
 (0)