aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bwn
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-02-28 17:14:04 +0000
committerWarner Losh <imp@FreeBSD.org>2022-02-28 17:14:34 +0000
commitdbd330fc1c387542b773475fe55b28e3f7abbdad (patch)
treedd91fcf87ff878aecc0172ac4cdee15e2b5c6369 /sys/dev/bwn
parent44b4f0370fe90d11306e9d3fdcacdc5b4ccc946e (diff)
Diffstat (limited to 'sys/dev/bwn')
-rw-r--r--sys/dev/bwn/if_bwn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c
index ecec524c07d4..1dc38dbcae6c 100644
--- a/sys/dev/bwn/if_bwn.c
+++ b/sys/dev/bwn/if_bwn.c
@@ -5987,7 +5987,7 @@ bwn_rxeof(struct bwn_mac *mac, struct mbuf *m, const void *_rxhdr)
struct ieee80211_node *ni;
struct ieee80211com *ic = &sc->sc_ic;
uint32_t macstat;
- int padding, rate, rssi = 0, noise = 0, type;
+ int padding, rate, rssi = 0, noise = 0;
uint16_t phytype, phystat0, phystat3, chanstat;
unsigned char *mp = mtod(m, unsigned char *);
@@ -6101,10 +6101,10 @@ bwn_rxeof(struct bwn_mac *mac, struct mbuf *m, const void *_rxhdr)
ni = ieee80211_find_rxnode(ic, wh);
if (ni != NULL) {
- type = ieee80211_input(ni, m, rssi, noise);
+ ieee80211_input(ni, m, rssi, noise);
ieee80211_free_node(ni);
} else
- type = ieee80211_input_all(ic, m, rssi, noise);
+ ieee80211_input_all(ic, m, rssi, noise);
BWN_LOCK(sc);
return;