diff options
author | adrian <adrian@FreeBSD.org> | 2012-12-22 01:16:28 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-12-22 01:16:28 +0000 |
commit | 60bdcd31a70d1d37eccc86bb935f0ce41cc8a200 (patch) | |
tree | 91423cc3ebafbf6c3863ce07cf30f37b86ba00dd /sys/net80211 | |
parent | 25bbadc6fac9a2e1d210ffab515cdb99cb43d38c (diff) | |
download | FreeBSD-src-60bdcd31a70d1d37eccc86bb935f0ce41cc8a200.zip FreeBSD-src-60bdcd31a70d1d37eccc86bb935f0ce41cc8a200.tar.gz |
Remove a use of if_start() - instead, use if_transmit() to dispatch the
frame.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_hostap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index ad79876..675f3da 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -2324,6 +2324,5 @@ ieee80211_recv_pspoll(struct ieee80211_node *ni, struct mbuf *m0) 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); } |