Search Linux Wireless

Re: [PATCH 1/6] mac80211: perform scan cancel in hw reset work

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

 



On Fri, 2010-10-01 at 14:05 +0200, Stanislaw Gruszka wrote:
> Move ieee80211_scan_cancel() and all other related code to
> ieee80211_restart_work() as ieee80211_restart_hw() is intended to be
> callable from any context.
> 
> Fix a bug that RTNL lock is not taken during ieee80211_cancel_scan().
> 
> Take local->mtx before WARN(test_bit(SCAN_HW_SCANNING, &local->scanning)
> to prevent the race condition with __ieee80211_start_scan() described
> here: http://marc.info/?l=linux-wireless&m=128516716810537&w=2
> 
> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>

This one's obvious -- the other ones I need a bit of time to review, and
it's practically weekend here now. I'll try to get to it ASAP.

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