PERFORCE change 122172 for review
Sam Leffler
sam at FreeBSD.org
Sat Jun 23 00:04:05 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122172
Change 122172 by sam at sam_aku on 2007/06/23 00:03:42
process tx callbacks when draining the tx q; this fixes
a problem where a device timeout that occurs with a mgt
frame on the tx q will leave the net80211 layer w/o any
way to make progress
Affected files ...
.. //depot/projects/wifi/sys/dev/ath/if_ath.c#146 edit
Differences ...
==== //depot/projects/wifi/sys/dev/ath/if_ath.c#146 (text+ko) ====
@@ -4865,8 +4865,10 @@
bf->bf_node = NULL;
if (ni != NULL) {
/*
- * Reclaim node reference.
+ * Do any callback and reclaim the node reference.
*/
+ if (bf->bf_m->m_flags & M_TXCB)
+ ieee80211_process_callback(ni, bf->bf_m, -1);
ieee80211_free_node(ni);
}
m_freem(bf->bf_m);
More information about the p4-projects
mailing list