as you might have noticed, ieee80211_draintask() is a wrapper around 
taskqueue_drain(9). Have you had a look at taskqueue_drain(9) man page?
https://www.freebsd.org/cgi/man.cgi?query=taskqueue_drain&apropos=0&sektion=0&manpath=FreeBSD+11.1-RELEASE+and+Ports&arch=default&format=html

 
 
  On Sun, Aug 20, 2017 at 11:48, Farhan Khan<kha...@gmail.com> wrote:   Hi all,

I traced back where my driver-in-development hangs when I issue "ifconfig
wlan0 up", and it hangs on ieee80211_waitfor_parent(), specifically:

ieee80211_draintask(ic, &ic->ic_parent_task);

Reference:
http://src.illumos.org/source/xref/freebsd-head/sys/net80211/ieee80211_proto.c#1406

I am not familiar with the source just yet, What does this function do?
And, what is ic_parent_task?

It appears that Andriy reported this same issue here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208860 but I did not see
a resolution.

Thanks!

--
Farhan Khan
PGP Fingerprint: 782F 342B 5B08 0D2F F4E8 82C3 FFA1 CAE1 6536 51CA
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
  
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to