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/cdad59d86d29
branches:  trunk
changeset: 367381:cdad59d86d29
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 a0bd764b30aa -r cdad59d86d29 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 @@
        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