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 Ensure tx functions operate at the require...
details: https://anonhg.NetBSD.org/src-all/rev/1af4b1f89e39
branches: trunk
changeset: 370311:1af4b1f89e39
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Wed Jul 01 12:28:56 2020 +1000
description:
Ensure tx functions operate at the required stages of the state machine.
diffstat:
sys/dev/pci/if_iwn.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r d2be259db7e5 -r 1af4b1f89e39 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Wed Jul 01 12:27:58 2020 +1000
+++ b/sys/dev/pci/if_iwn.c Wed Jul 01 12:28:56 2020 +1000
@@ -3336,10 +3336,10 @@
KASSERT(sc != NULL);
KASSERT(m != NULL);
-#if 0
if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING)
return 0;
+#if 0
if (vap->iv_state != IEEE80211_S_RUN)
return ENXIO;
#endif
@@ -3709,10 +3709,8 @@
ac = 0;
goto sendit;
}
-#if 0
if (vap->iv_state != IEEE80211_S_RUN)
break;
-#endif
/* Encapsulate and send data frames. */
IFQ_DEQUEUE(&ifp->if_snd, m);
Home |
Main Index |
Thread Index |
Old Index