[PATCH] nl80211: correct netlink attributes of set_supp_port() for MLD
Zong-Zhe Yang
kyang.zongz at gmail.com
Wed Dec 25 21:51:11 PST 2024
On Mon, Dec 23, 2024 at 6:15 PM Jouni Malinen <j at w1.fi> wrote:
>
> On Mon, Dec 23, 2024 at 02:48:40PM +0800, Zong-Zhe Yang wrote:
> > On Mon, Dec 23, 2024 at 6:06 AM Jouni Malinen <j at w1.fi> wrote:
> > >
> > > On Fri, Nov 22, 2024 at 04:21:43PM +0800, Zong-Zhe Yang wrote:
> > > > When MLD, wpa_driver_nl80211_set_supp_port() gets
> > > > `nl80211: Failed to set STA flag: -22 (Invalid argument)`
> > > > due to imprecise netlink attributes.
> > >
> > > Would you be able to share a debug log showing that? I was unable to
> > > reproduce that in my testing.
> >
> > It can be reproduced by connecting a MLD AP with an assoc link which
> > link_id != 0. (with mac80211 driver)
>
> Not in my test setup.. Do you have the following commit in the kernel
> you are using?
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03ecd745dde181f537bf84374caafb121463136b
> (wifi: mac80211: fix erroneous errors for STA changes)
>
I re-built the latest wireless-next kernel which contains the commit
you mentioned above.
And, I no longer see the problem now.
Thank you for your time.
More information about the Hostap
mailing list