projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a0d69
)
hostapd: fix condition for re-creating MLD interfaces
author
Felix Fietkau
<
[email protected]
>
Mon, 29 Sep 2025 10:35:52 +0000
(12:35 +0200)
committer
Felix Fietkau
<
[email protected]
>
Mon, 29 Sep 2025 10:37:02 +0000
(12:37 +0200)
Check the correct interface in order to avoid tearing down an existing
itnerface.
Signed-off-by: Felix Fietkau <
[email protected]
>
package/network/services/hostapd/files/hostapd.uc
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/files/hostapd.uc
b/package/network/services/hostapd/files/hostapd.uc
index c4ebfdd9a132d433f76de74163c4924084b1b528..30be818c693b1a1a5704477f02309e831b01b59e 100644
(file)
--- 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.if
name, 'x'))
mld_data.has_wdev = false;
if (mld_data.has_wdev)