projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5f2cb
)
hostapd: in AP/STA, shut down AP interfaces when STA enters scanning state
author
Felix Fietkau
<nbd@nbd.name>
Wed, 23 Aug 2023 16:19:14 +0000
(18:19 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 23 Aug 2023 17:05:47 +0000
(19:05 +0200)
When the STA is brought up, it is set to DISABLED before adding the bss to ucode,
so the first trigger to disable the AP is missed.
Reported-by: Michael-cy Lee (李峻宇) <Michael-cy.Lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/wpa_supplicant.uc
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/files/wpa_supplicant.uc
b/package/network/services/hostapd/files/wpa_supplicant.uc
index e3a3afcff21004361e0bedd2cd330ffd1f6d3476..50da7f14ffe4f68f0619afcd9c836d0c3bec4e66 100644
(file)
--- a/
package/network/services/hostapd/files/wpa_supplicant.uc
+++ b/
package/network/services/hostapd/files/wpa_supplicant.uc
@@
-188,6
+188,7
@@
function iface_hostapd_notify(phy, ifname, iface, state)
switch (state) {
case "DISCONNECTED":
case "AUTHENTICATING":
+ case "SCANNING":
msg.up = false;
break;
case "INTERFACE_DISABLED":