Date: Mon, 18 Feb 2008 22:21:45 GMT From: Andrew Thompson <thompsa@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 135681 for review Message-ID: <200802182221.m1IMLjdK098089@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135681 Change 135681 by thompsa@thompsa_heff on 2008/02/18 22:20:57 Remove the mbuf from the send queue early on as ieee80211_cancel_scan() will reenter wpi_start causing the mbuf to be sent and disappear from the queue. Affected files ... .. //depot/projects/wifi/sys/dev/wpi/if_wpi.c#5 edit Differences ... ==== //depot/projects/wifi/sys/dev/wpi/if_wpi.c#5 (text+ko) ==== @@ -2196,7 +2196,7 @@ if (ic->ic_state != IEEE80211_S_RUN) break; - IFQ_POLL(&ifp->if_snd, m0); + IFQ_DRV_DEQUEUE(&ifp->if_snd, m0); if (m0 == NULL) break; @@ -2238,7 +2238,6 @@ break; } - IFQ_DRV_DEQUEUE(&ifp->if_snd, m0); BPF_MTAP(ifp, m0); m0 = ieee80211_encap(ic, m0, ni);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802182221.m1IMLjdK098089>