From: Felix Fietkau Date: Thu, 30 Jul 2026 08:12:06 +0000 (+0200) Subject: wifi-scripts: keep radio config out of the MLD configuration X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e18424ddd83310fb66def0d3fa68aff7332a039c;p=thirdparty%2Fopenwrt.git wifi-scripts: keep radio config out of the MLD configuration wpad decides whether to keep or tear down an MLD interface by comparing the whole configuration object, which embedded the full device configuration of every participating radio. Any radio level change, such as a channel or txpower update, therefore destroyed and recreated the station MLD and dropped the backhaul link. Neither hostapd nor wpa_supplicant reads radio_config; it is only used locally to resolve the phy. Signed-off-by: Felix Fietkau --- diff --git a/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc b/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc index d26e4efbcd1..17327213b83 100644 --- a/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc +++ b/package/network/config/wifi-scripts/files/lib/netifd/wireless.uc @@ -29,7 +29,9 @@ function wpad_update_mlo(service, mode) if (!data.phy) continue; - config[ifname] = data; + let entry = { ...data }; + delete entry.radio_config; + config[ifname] = entry; } ubus.call({