wpa_supplicant: fix ap+sta regression for non-MLD interfaces
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run

Fix a copy&paste issue.

Reported-by: Chad Monroe <chad.monroe@adtran.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-09-26 09:29:39 +02:00
parent 04f6769a4a
commit 84ea336097

View file

@ -643,7 +643,7 @@ function iface_hostapd_notify(ifname, iface, state)
if (!mld) {
msg.phy = wpas.data.iface_phy[ifname];
if (!phy) {
if (!msg.phy) {
wpas.printf(`no PHY for ifname ${ifname}`);
return;
}