svn commit: r244576 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Sat Dec 22 01:16:29 UTC 2012


Author: adrian
Date: Sat Dec 22 01:16:28 2012
New Revision: 244576
URL: http://svnweb.freebsd.org/changeset/base/244576

Log:
  Remove a use of if_start() - instead, use if_transmit() to dispatch the
  frame.

Modified:
  head/sys/net80211/ieee80211_hostap.c

Modified: head/sys/net80211/ieee80211_hostap.c
==============================================================================
--- head/sys/net80211/ieee80211_hostap.c	Sat Dec 22 01:04:29 2012	(r244575)
+++ head/sys/net80211/ieee80211_hostap.c	Sat Dec 22 01:16:28 2012	(r244576)
@@ -2324,6 +2324,5 @@ ieee80211_recv_pspoll(struct ieee80211_n
 		ifp = vap->iv_ic->ic_ifp;
 	else
 		ifp = vap->iv_ifp;
-	IF_ENQUEUE(&ifp->if_snd, m);
-	if_start(ifp);
+	(void) ifp->if_transmit(ifp, m);
 }


More information about the svn-src-head mailing list