Re: hostapd tries to send invalid mgmt frames at startup

Johannes Berg <[email protected]> Fri, 15 May 2020 23:32:55 +0200
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Wed, 2020-05-13 at 11:40 +0200, Pali Rohár wrote:
> Hello Jouni!
> 
> I have configured hostapd to provide multiple SSIDs at one phy
> interface. And on every hostapd startup I see in hostapd logs
> following errors:
> 
> May 13 09:20:30 turris hostapd: nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)

It's not *really* invalid, at least per spec. It's trying to send a
broadcast deauth frame for the new network it's about to start up.

But the kernel doesn't initialize all the context and everything until
it actually starts up, so it cannot do that yet and we get this result.

I believe it's been this way for many years, and the only side effect is
that print in the log ...

johannes


_______________________________________________
Hostap mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/hostap