Deleted Added
full compact
ieee80211_output.c (140764) ieee80211_output.c (140766)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 17 unchanged lines hidden (view full) ---

26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 17 unchanged lines hidden (view full) ---

26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_output.c 140764 2005-01-24 20:41:12Z sam $");
34__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_output.c 140766 2005-01-24 20:50:20Z sam $");
35
36#include "opt_inet.h"
37
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/mbuf.h>
41#include <sys/kernel.h>
42#include <sys/endian.h>

--- 881 unchanged lines hidden (view full) ---

924 KASSERT(ni != NULL, ("null node"));
925
926 /*
927 * Hold a reference on the node so it doesn't go away until after
928 * the xmit is complete all the way in the driver. On error we
929 * will remove our reference.
930 */
931 IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE,
35
36#include "opt_inet.h"
37
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/mbuf.h>
41#include <sys/kernel.h>
42#include <sys/endian.h>

--- 881 unchanged lines hidden (view full) ---

924 KASSERT(ni != NULL, ("null node"));
925
926 /*
927 * Hold a reference on the node so it doesn't go away until after
928 * the xmit is complete all the way in the driver. On error we
929 * will remove our reference.
930 */
931 IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE,
932 "ieee80211_ref_node (%s:%u) %s refcnt %d\n",
932 "ieee80211_ref_node (%s:%u) %p<%s> refcnt %d\n",
933 __func__, __LINE__,
933 __func__, __LINE__,
934 ether_sprintf(ni->ni_macaddr),
935 ieee80211_node_refcnt(ni)+1);
934 ni, ether_sprintf(ni->ni_macaddr),
935 ieee80211_node_refcnt(ni)+1);
936 ieee80211_ref_node(ni);
937
938 timer = 0;
939 switch (type) {
940 case IEEE80211_FC0_SUBTYPE_PROBE_REQ:
941 /*
942 * prreq frame format
943 * [tlv] ssid

--- 668 unchanged lines hidden ---
936 ieee80211_ref_node(ni);
937
938 timer = 0;
939 switch (type) {
940 case IEEE80211_FC0_SUBTYPE_PROBE_REQ:
941 /*
942 * prreq frame format
943 * [tlv] ssid

--- 668 unchanged lines hidden ---