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/ec271757b5c3
branches: trunk
changeset: 376807:ec271757b5c3
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 d9e89495ec97 -r ec271757b5c3 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