Re: [PATCH 3.10 3/3] mac80211: correctly close cancelled scans

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

 



On Tue, Nov 05, 2013 at 11:14:05PM +0200, Emmanuel Grumbach wrote:
> 
> 
> On 11/05/2013 11:09 PM, Emmanuel Grumbach wrote:
> > From: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
> > 
> > commit a754055a1296fcbe6f32de3a5eaca6efb2fd1865 upstream.
> > 
> > __ieee80211_scan_completed is called from a worker. This
> > means that the following flow is possible.
> > 
> >  * driver calls ieee80211_scan_completed
> >  * mac80211 cancels the scan (that is already complete)
> >  * __ieee80211_scan_completed runs
> > 
> > When scan_work will finally run, it will see that the scan
> > hasn't been aborted and might even trigger another scan on
> > another band. This leads to a situation where cfg80211's
> > scan is not done and no further scan can be issued.
> > 
> > Fix this by setting a new flag when a HW scan is being
> > cancelled so that no other scan will be triggered.
> > 
> > Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
> > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> 
> Argh... stupid me. This patch is already there... sorry.
> I need another one in 3.10. Sending it now...

Did you ever send this?  I've applied the first two, but seem to be
missing this one.  Care to just send me what I haven't applied?

thanks,

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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]