aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index bbbfdcde2727..0e8f6d41a375 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -280,7 +280,7 @@ int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw,
280 if (r) { 280 if (r) {
281 DPRINTF(sc, ATH_DBG_FATAL, 281 DPRINTF(sc, ATH_DBG_FATAL,
282 "Unable to reset channel (%u Mhz) " 282 "Unable to reset channel (%u Mhz) "
283 "reset status %u\n", 283 "reset status %d\n",
284 channel->center_freq, r); 284 channel->center_freq, r);
285 spin_unlock_bh(&sc->sc_resetlock); 285 spin_unlock_bh(&sc->sc_resetlock);
286 return r; 286 return r;
@@ -1094,7 +1094,7 @@ void ath_radio_enable(struct ath_softc *sc)
1094 if (r) { 1094 if (r) {
1095 DPRINTF(sc, ATH_DBG_FATAL, 1095 DPRINTF(sc, ATH_DBG_FATAL,
1096 "Unable to reset channel %u (%uMhz) ", 1096 "Unable to reset channel %u (%uMhz) ",
1097 "reset status %u\n", 1097 "reset status %d\n",
1098 channel->center_freq, r); 1098 channel->center_freq, r);
1099 } 1099 }
1100 spin_unlock_bh(&sc->sc_resetlock); 1100 spin_unlock_bh(&sc->sc_resetlock);
@@ -1146,7 +1146,7 @@ void ath_radio_disable(struct ath_softc *sc)
1146 if (r) { 1146 if (r) {
1147 DPRINTF(sc, ATH_DBG_FATAL, 1147 DPRINTF(sc, ATH_DBG_FATAL,
1148 "Unable to reset channel %u (%uMhz) " 1148 "Unable to reset channel %u (%uMhz) "
1149 "reset status %u\n", 1149 "reset status %d\n",
1150 channel->center_freq, r); 1150 channel->center_freq, r);
1151 } 1151 }
1152 spin_unlock_bh(&sc->sc_resetlock); 1152 spin_unlock_bh(&sc->sc_resetlock);
@@ -1709,7 +1709,7 @@ int ath_reset(struct ath_softc *sc, bool retry_tx)
1709 r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false); 1709 r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);
1710 if (r) 1710 if (r)
1711 DPRINTF(sc, ATH_DBG_FATAL, 1711 DPRINTF(sc, ATH_DBG_FATAL,
1712 "Unable to reset hardware; reset status %u\n", r); 1712 "Unable to reset hardware; reset status %d\n", r);
1713 spin_unlock_bh(&sc->sc_resetlock); 1713 spin_unlock_bh(&sc->sc_resetlock);
1714 1714
1715 if (ath_startrecv(sc) != 0) 1715 if (ath_startrecv(sc) != 0)
@@ -2001,7 +2001,7 @@ static int ath9k_start(struct ieee80211_hw *hw)
2001 r = ath9k_hw_reset(sc->sc_ah, init_channel, false); 2001 r = ath9k_hw_reset(sc->sc_ah, init_channel, false);
2002 if (r) { 2002 if (r) {
2003 DPRINTF(sc, ATH_DBG_FATAL, 2003 DPRINTF(sc, ATH_DBG_FATAL,
2004 "Unable to reset hardware; reset status %u " 2004 "Unable to reset hardware; reset status %d "
2005 "(freq %u MHz)\n", r, 2005 "(freq %u MHz)\n", r,
2006 curchan->center_freq); 2006 curchan->center_freq);
2007 spin_unlock_bh(&sc->sc_resetlock); 2007 spin_unlock_bh(&sc->sc_resetlock);