Search Linux Wireless

Re: [PATCH] mac80211: do not trigger beacon loss work if scanning

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

 



On Fri, 2009-07-24 at 00:58 +0200, Johannes Berg wrote:

> > @@ -2187,7 +2187,7 @@ static void ieee80211_sta_bcn_mon_timer(unsigned long data)
> >  		(struct ieee80211_sub_if_data *) data;
> >  	struct ieee80211_local *local = sdata->local;
> >  
> > -	if (local->quiescing)
> > +	if (local->quiescing || local->sw_scanning || local->hw_scanning)
> 
> I'd rather have  that check in ieee80211_mgd_probe_ap itself, so it's
> much closer to the source of the problem.

And, incidentally, not racy then.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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