[PATCH v2] wifi: cfg80211: Clear mlo_links info when STA disconnect
Johannes Berg
johannes at sipsolutions.net
Wed Apr 17 00:32:46 PDT 2024
On Tue, 2024-04-09 at 20:10 -0700, Xin Deng wrote:
> wdev->valid_links is not cleared when upper layer disconnect from a
> wdev->AP MLD. It has been observed that this would prevent offchannel
> operations like remain-on-channel which would be needed for user space
> operations with Public Action frame.
> Clear the wdev->valid_links when STA disconnect.
>
OK, so now we have a version that actually _works_.
However, I'm not convinced it's _correct_.
You say "on disconnect", but also do it before connect (where maybe it
makes sense?), on roaming (where it doesn't), on connect result (where
presumably if we do it correct, it's already 0), and finally on
disconnect.
And also in a function that never even mentions anything about doing
something to links in the name.
All that doesn't feel right to me.
johannes
More information about the ath12k
mailing list