aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-06-16 06:11:35 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-16 14:59:00 -0400
commit0452d4a508d7701d37ecf5d018f38e3422acb5d2 (patch)
treecb1b86ffd30fcac3635faff9046d63b361204726 /drivers/net/wireless
parent265faadd6a01b9462bbc3ead26a3e32a717525c5 (diff)
ath5k: print more errors when decriptor setup fails
Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 5bd9a39dc0ed..6c303d5d46c6 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -1243,8 +1243,10 @@ ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf)
1243 ds->ds_link = bf->daddr; /* link to self */ 1243 ds->ds_link = bf->daddr; /* link to self */
1244 ds->ds_data = bf->skbaddr; 1244 ds->ds_data = bf->skbaddr;
1245 ret = ah->ah_setup_rx_desc(ah, ds, ah->common.rx_bufsize, 0); 1245 ret = ah->ah_setup_rx_desc(ah, ds, ah->common.rx_bufsize, 0);
1246 if (ret) 1246 if (ret) {
1247 ATH5K_ERR(sc, "%s: could not setup RX desc\n", __func__);
1247 return ret; 1248 return ret;
1249 }
1248 1250
1249 if (sc->rxlink != NULL) 1251 if (sc->rxlink != NULL)
1250 *sc->rxlink = bf->daddr; 1252 *sc->rxlink = bf->daddr;