rcutree tree warning during P2P device support testing

Johannes Berg johannes at sipsolutions.net
Thu Mar 21 08:21:38 EDT 2013


On Thu, 2013-03-21 at 13:04 +0100, Arend van Spriel wrote:

> >>> The p2p device is already removed upon stopping wpa_supplicant through
> >>> .del_virtual_intf() callback. Took a quick peek in
> >>> net/mac80211/iface.c:ieee80211_if_remove() and wonder whether I should
> >>> do cfg80211_unregister_wdev() in that code path as well. Guess so, right?
> >>
> >> I think so, yes. Does the warning go away if you do? :)
> > 
> > Not tested yet.
> 
> That did the trick. Apparently, wpa_s/driver_nl80211 does not do a
> stop_p2p_device. That is triggered by cfg80211_unregister_wdev(). Should
> wpa_s do the stop_p2p_device before deleting it or is the current
> behaviour fine.

It's fine, the kernel has to be able to handle it anyway, but there's a
small bug in this area that I'm trying to fix now.

johannes



More information about the HostAP mailing list