Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Only radiotap_tx successful packets.
details: https://anonhg.NetBSD.org/src-all/rev/660f52b7811f
branches: trunk
changeset: 378065:660f52b7811f
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun Jun 18 15:15:03 2023 +1000
description:
Only radiotap_tx successful packets.
diffstat:
sys/dev/pci/if_iwn.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f7a2fdc3f33c -r 660f52b7811f sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Sun Jun 18 15:13:58 2023 +1000
+++ b/sys/dev/pci/if_iwn.c Sun Jun 18 15:15:03 2023 +1000
@@ -3851,8 +3851,6 @@ iwn_start(struct ifnet *ifp)
ac = (eh->ether_type != htons(ETHERTYPE_PAE)) ?
M_WME_GETAC(m) : WME_AC_BE;
- if (sc->sc_beacon_wait == 0)
- ieee80211_radiotap_tx(vap, m);
if (sc->sc_beacon_wait)
continue;
@@ -3862,6 +3860,8 @@ iwn_start(struct ifnet *ifp)
continue;
}
+ if (sc->sc_beacon_wait == 0)
+ ieee80211_radiotap_tx(vap, m);
IF_DEQUEUE(&sc->sc_sendq, m);
sc->sc_tx_timer = 5;
Home |
Main Index |
Thread Index |
Old Index