mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
The firmware wants active links removed from the BSSINFO table as the interface is destroyed, so a link stays registered from its first chanctx assignment until the interface goes away, and adding one the driver already holds does nothing. mac80211 hands a non-AP MLD a fresh address whenever it sets a link up, though, so a link coming back after a failed attempt carries an address the hardware was never told about, on a BSS that was never revisited: it authenticates from an address nothing answers, every time, until the interface is torn down for good. Program the address and the BSS again, the pair the initial add sets up, which is for a station what mt7996_mcu_mld_link_oper() does for an AP. Signed-off-by: Felix Fietkau <[email protected]>