Search Linux Wireless

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

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

 



Johannes Berg wrote:
> I'm not sure that's true - the WARN_ON you're modifying keys off
> something that happens in cfg80211_scan_done(), not
> __cfg80211_scan_done(), so as long as the driver called
> cfg80211_scan_done() properly things should be OK?

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.

> How are you implementing cancel_hw_scan()? You need to call
> ieee80211_scan_completed() by the time the function returns.

Yes, that's what we do in ath9k.

Sujith
--
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