Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2008 23:58:55 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 139173 for review
Message-ID:  <200804012358.m31NwtVm021115@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=139173

Change 139173 by sam@sam_ebb on 2008/04/01 23:58:34

	stick packet on the vap's snd q in response to ps-poll; was
	still pushing them to the parent snd q as we did pre-vap

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_hostap.c#19 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_hostap.c#19 (text+ko) ====

@@ -2174,6 +2174,7 @@
 {
 	struct ieee80211vap *vap = ni->ni_vap;
 	struct ieee80211_frame_min *wh;
+	struct ifnet *ifp = vap->iv_ifp;
 	struct mbuf *m;
 	uint16_t aid;
 	int qlen;
@@ -2230,5 +2231,6 @@
 			vap->iv_set_tim(ni, 0);
 	}
 	m->m_flags |= M_PWR_SAV;		/* bypass PS handling */
-	IF_ENQUEUE(&vap->iv_ic->ic_ifp->if_snd, m);
+	IF_ENQUEUE(&ifp->if_snd, m);
+	if_start(ifp);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804012358.m31NwtVm021115>