diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2016-04-29 19:10:22 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2016-04-29 19:10:22 +0000 |
commit | e27428fd1c530e7fe3cade4eff1d238aeb10bb9d (patch) | |
tree | bc5db4740bab4c58b987060919944a08c1ec28c6 /sys/dev/iwm | |
parent | a03911879222c28f8ab3fb5fd72698e17209b266 (diff) | |
download | src-e27428fd1c530e7fe3cade4eff1d238aeb10bb9d.tar.gz src-e27428fd1c530e7fe3cade4eff1d238aeb10bb9d.zip |
The iwm_nic_error() defined if IWM_DEBUG is defined.
Notes
Notes:
svn path=/head/; revision=298793
Diffstat (limited to 'sys/dev/iwm')
-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 202dd9832590..68f756a4d2be 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++) { |