hostapd: in AP/STA, shut down AP interfaces when STA enters scanning state
authorFelix Fietkau <nbd@nbd.name>
Wed, 23 Aug 2023 16:19:14 +0000 (18:19 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 23 Aug 2023 17:05:47 +0000 (19:05 +0200)
commitf3eb998e7e646e91cc42b019dce4e347a505f3b6
tree2c407c5a66e5aa5c2c05ad01a89ac3f0dde1aeb2
parentaa5f2cb63c3869595486a1758cf0bd04c88436f1
hostapd: in AP/STA, shut down AP interfaces when STA enters scanning state

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