Search Linux Wireless

Re: [PATCH v6] nl80211: Stop scheduled scan if netlink client disappears

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

 



On Fri, 2014-11-21 at 10:00 +0200, Jukka Rissanen wrote:

> > Your patch also still has the problem I pointed out to you before - you
> > can get the following sequence of events:
> > 
> > start_sched_scan (owner=true)
> > close socket - schedule worker
> > start_sched_scan (from another socket, owner doesn't matter)
> 
> If I am reading the code correctly from
> nl80211.c:nl80211_start_sched_scan() this socket will get -EINPROGRESS.
> Only after the worker has finished and called
> __cfg80211_stop_sched_scan() will the other socket able to start a new
> scheduled scan. Or I might have just missed some important detail
> here :)

Oh, you're right, my mistake.

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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux