diff options
author | Benjamin Berg <benjamin.berg@intel.com> | 2023-06-16 09:54:00 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-06-19 12:05:28 +0200 |
commit | 5db25290b77b4efcf26c2b25f288ca3f13ff2fc5 (patch) | |
tree | bd2860b1ec4af16875d1dc2967a50ec9ac37efc1 /net/wireless/scan.c | |
parent | 6b7c93c1439c8833ada9068f612df2de0571fd00 (diff) | |
download | linux-stable-5db25290b77b4efcf26c2b25f288ca3f13ff2fc5.tar.gz linux-stable-5db25290b77b4efcf26c2b25f288ca3f13ff2fc5.tar.bz2 linux-stable-5db25290b77b4efcf26c2b25f288ca3f13ff2fc5.zip |
wifi: cfg80211: add inform_bss op to update BSS
This new function is called from within the inform_bss(_frame)_data
functions in order for the driver to update data that it is tracking.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230616094949.8d7781b0f965.I80041183072b75c081996a1a5a230b34aff5c668@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r-- | net/wireless/scan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 8984f74da891..d9abbf123ad1 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -2027,6 +2027,8 @@ cfg80211_inform_single_bss_data(struct wiphy *wiphy, if (!res) goto drop; + rdev_inform_bss(rdev, &res->pub, ies, data->drv_data); + if (non_tx_data) { /* this is a nontransmitting bss, we need to add it to * transmitting bss' list if it is not there @@ -2502,6 +2504,8 @@ cfg80211_inform_single_bss_frame_data(struct wiphy *wiphy, if (!res) goto drop; + rdev_inform_bss(rdev, &res->pub, ies, data->drv_data); + spin_unlock_bh(&rdev->bss_lock); trace_cfg80211_return_bss(&res->pub); |