[openwrt/openwrt] wpa_supplicant: fix ap+sta regression for non-MLD interfaces

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 26 00:30:31 PDT 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/84ea33609729bf41eb3de8a4cc2a66eb4c0b8f49

commit 84ea33609729bf41eb3de8a4cc2a66eb4c0b8f49
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Sep 26 09:29:39 2025 +0200

    wpa_supplicant: fix ap+sta regression for non-MLD interfaces
    
    Fix a copy&paste issue.
    
    Reported-by: Chad Monroe <chad.monroe at adtran.com>
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/services/hostapd/files/wpa_supplicant.uc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/files/wpa_supplicant.uc b/package/network/services/hostapd/files/wpa_supplicant.uc
index 9b006878d4..cf31c1bd59 100644
--- a/package/network/services/hostapd/files/wpa_supplicant.uc
+++ b/package/network/services/hostapd/files/wpa_supplicant.uc
@@ -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;
 		}




More information about the lede-commits mailing list