diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-10-05 23:11:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-15 07:59:03 +0200 |
commit | d15bb1f6dabe1d2a4155958111bea47db72b599c (patch) | |
tree | b1504d0b4a344289602d9a4af3935d8efa46e3a3 /net/ife | |
parent | 93a3a32554079432b49cf87f326607b2a2fab4f2 (diff) | |
download | linux-stable-d15bb1f6dabe1d2a4155958111bea47db72b599c.tar.gz linux-stable-d15bb1f6dabe1d2a4155958111bea47db72b599c.tar.bz2 linux-stable-d15bb1f6dabe1d2a4155958111bea47db72b599c.zip |
wifi: cfg80211: update hidden BSSes to avoid WARN_ON
commit c90b93b5b782891ebfda49d4e5da36632fefd5d1 upstream.
When updating beacon elements in a non-transmitted BSS,
also update the hidden sub-entries to the same beacon
elements, so that a future update through other paths
won't trigger a WARN_ON().
The warning is triggered because the beacon elements in
the hidden BSSes that are children of the BSS should
always be the same as in the parent.
Reported-by: Sönke Huster <shuster@seemoo.tu-darmstadt.de>
Tested-by: Sönke Huster <shuster@seemoo.tu-darmstadt.de>
Fixes: 0b8fb8235be8 ("cfg80211: Parsing of Multiple BSSID information in scanning")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ife')
0 files changed, 0 insertions, 0 deletions