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 Wrap up iv_debug in IEEE80211_DEBUG. Fixe...
details: https://anonhg.NetBSD.org/src-all/rev/1ddd4f45c554
branches: trunk
changeset: 374951:1ddd4f45c554
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Tue Jun 02 02:04:47 2020 +1000
description:
Wrap up iv_debug in IEEE80211_DEBUG. Fixes non IEEE80211_DEBUG build.
diffstat:
sys/dev/pci/if_iwn.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r a6488b76694c -r 1ddd4f45c554 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Tue Jun 02 01:10:49 2020 +1000
+++ b/sys/dev/pci/if_iwn.c Tue Jun 02 02:04:47 2020 +1000
@@ -2229,7 +2229,9 @@ iwn_newstate(struct ieee80211vap *vap, e
callout_stop(&sc->scan_to);
callout_stop(&sc->calib_to);
+#ifdef IEEE80211_DEBUG
vap->iv_debug = ieee80211_debug;
+#endif
switch (nstate) {
case IEEE80211_S_SCAN:
#if 0
Home |
Main Index |
Thread Index |
Old Index