diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-04-29 19:10:22 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-04-29 19:10:22 +0000 |
commit | 5bfd61af6774bdd96385fcb4e870a41f5b04b563 (patch) | |
tree | bc5db4740bab4c58b987060919944a08c1ec28c6 /sys/dev/iwm/if_iwm.c | |
parent | a58574b87aff92b27557c73373f24bd63f09560d (diff) | |
download | FreeBSD-src-5bfd61af6774bdd96385fcb4e870a41f5b04b563.zip FreeBSD-src-5bfd61af6774bdd96385fcb4e870a41f5b04b563.tar.gz |
The iwm_nic_error() defined if IWM_DEBUG is defined.
Diffstat (limited to 'sys/dev/iwm/if_iwm.c')
-rw-r--r-- | sys/dev/iwm/if_iwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/iwm/if_iwm.c b/sys/dev/iwm/if_iwm.c index 202dd98..68f756a 100644 --- a/sys/dev/iwm/if_iwm.c +++ b/sys/dev/iwm/if_iwm.c @@ -4363,8 +4363,9 @@ iwm_intr(void *arg) struct ieee80211com *ic = &sc->sc_ic; struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); +#ifdef IWM_DEBUG iwm_nic_error(sc); - +#endif /* Dump driver status (TX and RX rings) while we're here. */ device_printf(sc->sc_dev, "driver status:\n"); for (i = 0; i < IWM_MVM_MAX_QUEUES; i++) { |