1/*- 2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#include <sys/cdefs.h> |
27__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_power.c 254261 2013-08-12 22:27:53Z adrian $"); |
28 29/* 30 * IEEE 802.11 power save support. 31 */ 32#include "opt_wlan.h" 33 34#include <sys/param.h> 35#include <sys/systm.h> --- 434 unchanged lines hidden (view full) --- 470 } 471 } 472 473 /* VAP frames, aren't encapsulated */ 474 if (ifp != NULL) { 475 while (ifp_q != NULL) { 476 m = ifp_q; 477 ifp_q = m->m_nextpkt; |
478 m->m_nextpkt = NULL; |
479 KASSERT((!(m->m_flags & M_ENCAP)), 480 ("%s: vapq with M_ENCAP frame!\n", __func__)); 481 (void) ieee80211_vap_xmitpkt(vap, m); 482 } 483 } 484} 485 486/* --- 70 unchanged lines hidden --- |