Re: [PATCH] driver_nl80211: update freq only when CSA completes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 08, 2019 at 07:30:38AM +0200, Johannes Berg wrote:
> In the case of the ap_csa_disable test, I frequently see
> failures due to the kernel *not* having switched, but the
> CSA-STARTED event having been processed, and thus the
> frequency having been updated already.
> 
> This is wrong at least for AP mode, the frequency we store
> for this case internally in nl80211 should only be updated
> when the channel switch completes, otherwise we end up in
> a situation where the switch is aborted and the kernel is
> thus on the old channel, but the internal information has
> been updated and every subsequent mgmt-frame TX fails due
> to being tagged with the wrong channel.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux