mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
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@nbd.name>
This commit is contained in:
parent
e0a0d69a63
commit
973cfbadf5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue