ieee80211_hostap.c (41fe50f5deab9062cdf5915541105e47679ba571) | ieee80211_hostap.c (72fecb4d6cdd95aff2fa6253b602ebe992b98b87) |
---|---|
1/*- 2 * Copyright (c) 2007-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 --- 341 unchanged lines hidden (view full) --- 350 IEEE80211_NODE_STAT(sta, rx_unauth); 351 } 352 ieee80211_free_node(sta); 353 } 354 } 355 if (mcopy != NULL) { 356 int len, err; 357 len = mcopy->m_pkthdr.len; | 1/*- 2 * Copyright (c) 2007-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 --- 341 unchanged lines hidden (view full) --- 350 IEEE80211_NODE_STAT(sta, rx_unauth); 351 } 352 ieee80211_free_node(sta); 353 } 354 } 355 if (mcopy != NULL) { 356 int len, err; 357 len = mcopy->m_pkthdr.len; |
358 err = (ifp->if_transmit)(ifp, mcopy); | 358 err = ifp->if_transmit(ifp, mcopy); |
359 if (err) { 360 /* NB: IFQ_HANDOFF reclaims mcopy */ 361 } else { 362 ifp->if_opackets++; 363 } 364 } 365 } 366 if (m != NULL) { --- 1888 unchanged lines hidden --- | 359 if (err) { 360 /* NB: IFQ_HANDOFF reclaims mcopy */ 361 } else { 362 ifp->if_opackets++; 363 } 364 } 365 } 366 if (m != NULL) { --- 1888 unchanged lines hidden --- |