Search Linux Wireless

Re: [PATCH] cfg80211: Warn once for delayed scan completion

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

 



On Mon, 2014-10-20 at 14:02 +0200, Johannes Berg wrote:
> On Mon, 2014-10-20 at 16:26 +0530, Sujith Manoharan wrote:
> 
> > Here is a trace log showing the issue - cfg80211_scan_done()
> > is called after NETDEV_DOWN is received in cfg80211_netdev_notifier_call().
> > 
> > http://pastebin.com/raw.php?i=AJqFLtZR
> > 
> > I've removed entries to show the issue clearly, if
> > you need the full trace, please let me know.
> 
> Ah, so mac80211 is also delaying and not doing the right thing ... need
> to look at that.

Maybe we need something like this:

diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index af0d094b2f2f..45b74ab1c59d 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -985,7 +985,6 @@ void ieee80211_scan_cancel(struct ieee80211_local *local)
 			drv_cancel_hw_scan(local,
 				rcu_dereference_protected(local->scan_sdata,
 						lockdep_is_held(&local->mtx)));
-		goto out;
 	}
 
 	/*

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