diff options
author | Bruno Randolf <br1@einfach.org> | 2010-06-16 14:11:35 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-16 22:59:00 +0400 |
commit | 0452d4a508d7701d37ecf5d018f38e3422acb5d2 (patch) | |
tree | cb1b86ffd30fcac3635faff9046d63b361204726 | |
parent | 265faadd6a01b9462bbc3ead26a3e32a717525c5 (diff) | |
download | linux-0452d4a508d7701d37ecf5d018f38e3422acb5d2.tar.xz |
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>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 4 |
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) ds->ds_link = bf->daddr; /* link to self */ ds->ds_data = bf->skbaddr; ret = ah->ah_setup_rx_desc(ah, ds, ah->common.rx_bufsize, 0); - if (ret) + if (ret) { + ATH5K_ERR(sc, "%s: could not setup RX desc\n", __func__); return ret; + } if (sc->rxlink != NULL) *sc->rxlink = bf->daddr; |