]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Remove AP mode interface from bridge for STA-mode-scan
authorJouni Malinen <jouni@codeaurora.org>
Fri, 15 May 2020 18:23:50 +0000 (21:23 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 15 May 2020 18:23:50 +0000 (21:23 +0300)
commit04030e8c0dcef6c2423eee1419e13e0ba738c4bb
tree3ae4d236c56190001ab54f4c3d80296ddb70e6ad
parent7adea21d2ff876d37b459705a8a1b55109123e80
nl80211: Remove AP mode interface from bridge for STA-mode-scan

Linux bridging code does not allow a station mode WLAN interface in a
bridge and this prevents the AP mode scan workaround from working if the
AP interface is in a bridge and scanning can be only done by moving to
STA mode. Extend this workaround to remove the interface from the bridge
temporarily for the duration of the scan, i.e., for the same duration as
the interface needs to be moved into the station.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211.h
src/drivers/driver_nl80211_event.c
src/drivers/driver_nl80211_scan.c