PERFORCE change 139173 for review

Sam Leffler sam at FreeBSD.org
Tue Apr 1 16:58:56 PDT 2008


http://perforce.freebsd.org/chv.cgi?CH=139173

Change 139173 by sam at 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);
 }


More information about the p4-projects mailing list