From 1bfefbcd6614852f5175e85b6c98e487d5c92c13 Mon Sep 17 00:00:00 2001 From: adrian Date: Fri, 19 Apr 2013 07:56:22 +0000 Subject: [PATCH] Print out the chainmask configuration. --- sys/dev/ath/if_ath.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 2ff1d1c9ce72..3a6ae8ef9be3 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -781,6 +781,11 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) ath_hal_getrxchainmask(ah, &sc->sc_rxchainmask); ath_hal_gettxchainmask(ah, &sc->sc_txchainmask); + device_printf(sc->sc_dev, "Chainmasks: TX=0x%x; RX=0x%x\n", + __func__, + sc->sc_txchainmask, + sc->sc_rxchainmask); + ic->ic_txstream = txs; ic->ic_rxstream = rxs;