Search Linux Wireless

Re: [PATCH wireless-2.6] iwlwifi: do not perferm force reset while doing scan

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

 



On Wed, 2010-09-22 at 10:57 +0200, Stanislaw Gruszka wrote:

> So why we can see this warning? During my testing I saw it also.
> There is race regarding SCAN_HW_SCANNING bit, usually we set/clear
> this bit under local->mtx, but not in ieee80211_restart_hw()
> 
> cpu0						cpu1
> __ieee80211_start_scan
>   __set_bit(SCAN_HW_SCANNING, &local->scanning);
>   
> 						iwl_bg_restart()
> 						  ieee80211_restart_hw()
> 						    WARN

Why can't iwlwifi's bg_restart() force-abort the scan? It'll be aborted
anyway...

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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