[openwrt/openwrt] hostapd: fix condition for re-creating MLD interfaces
LEDE Commits
lede-commits at lists.infradead.org
Mon Sep 29 03:37:17 PDT 2025
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/973cfbadf53519d351baf84858b02582a2f4fbfd
commit 973cfbadf53519d351baf84858b02582a2f4fbfd
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Sep 29 12:35:52 2025 +0200
hostapd: fix condition for re-creating MLD interfaces
Check the correct interface in order to avoid tearing down an existing
itnerface.
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/network/services/hostapd/files/hostapd.uc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/services/hostapd/files/hostapd.uc b/package/network/services/hostapd/files/hostapd.uc
index c4ebfdd9a1..30be818c69 100644
--- a/package/network/services/hostapd/files/hostapd.uc
+++ b/package/network/services/hostapd/files/hostapd.uc
@@ -778,7 +778,7 @@ function bss_check_mld(phydev, iface_name, bss)
bss.mld_bssid = mld_data.macaddr;
mld_data.iface[iface_name] = true;
- if (!access('/sys/class/net/' + iface_name, 'x'))
+ if (!access('/sys/class/net/' + bss.ifname, 'x'))
mld_data.has_wdev = false;
if (mld_data.has_wdev)
More information about the lede-commits
mailing list