diff options
author | 2022-09-02 16:12:55 +0200 | |
---|---|---|
committer | 2022-09-03 17:03:29 +0200 | |
commit | a033afca2dc9d225cec1227a0554ad97ac00879d (patch) | |
tree | 75cbd08225f89f86dd308ae21f84307d20869539 /drivers/net/dsa/microchip | |
parent | wifi: mac80211: mlme: assign link address correctly (diff) | |
download | linux-dev-a033afca2dc9d225cec1227a0554ad97ac00879d.tar.xz linux-dev-a033afca2dc9d225cec1227a0554ad97ac00879d.zip |
wifi: mac80211: fix double SW scan stop
When we stop a not-yet-started scan, we erroneously call
into the driver, causing a sequence of sw_scan_start()
followed by sw_scan_complete() twice. This will cause a
warning in hwsim with next in line commit that validates
the address passed to wmediumd/virtio. Fix this by doing
the calls only if we were actually scanning.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/dsa/microchip')
0 files changed, 0 insertions, 0 deletions