mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 19:38:37 +04:00
A new station MLD took over the address of a removed one only where the names were the same. netifd numbers the MLO interfaces in the order of their sections, so a new section renames a station MLD (sta-mld0 to sta-mld1), and the station MLD got a new address. Other devices then take it for a new station MLD, although it continues the existing one. mld_set_config() now uses the rule of the AP MLD (mld_prev_match()): on one wiphy, the same SSID and radios, then the same SSID. For a continued station MLD with another name, the MLD sync names the address of the old one; the entry of the old name loses it, and the new name claims it. A station MLD that continues none asks by its name, as before. Signed-off-by: Felix Fietkau <nbd@nbd.name>