diff options
author | adrian <adrian@FreeBSD.org> | 2013-04-19 08:06:45 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-04-19 08:06:45 +0000 |
commit | 8a41f6ac5bb23e37a0202a35418370cb7b725138 (patch) | |
tree | d5bd53787dce30113068480fe7e8cf785b500c9d /sys/dev/ath/if_ath.c | |
parent | d5899b983098400ef1bb4fdc28c4ac96cf23e641 (diff) | |
download | FreeBSD-src-8a41f6ac5bb23e37a0202a35418370cb7b725138.zip FreeBSD-src-8a41f6ac5bb23e37a0202a35418370cb7b725138.tar.gz |
Add a debug statement to log the currently chosen chainmask configuration.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r-- | sys/dev/ath/if_ath.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 164deb0..6695c09 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -1529,6 +1529,12 @@ ath_update_chainmasks(struct ath_softc *sc, struct ieee80211_channel *chan) } else { sc->sc_cur_txchainmask = 1; } + + DPRINTF(sc, ATH_DEBUG_RESET, + "%s: TX chainmask is now 0x%x, RX is now 0x%x\n", + __func__, + sc->sc_cur_txchainmask, + sc->sc_cur_rxchainmask); } void |