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/e4031568e0b3
branches: trunk
changeset: 935815:e4031568e0b3
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 afe92e12f49d -r e4031568e0b3 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
@@ -3263,10 +3263,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
@@ -3636,10 +3636,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