diff options
author | Bruno Randolf <br1@einfach.org> | 2010-06-16 14:11:46 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-16 22:59:02 +0400 |
commit | b16062facbf9952d9d69621a6bf87e1188973ccd (patch) | |
tree | 75ed8e8b2b03bddf2dd52affd360aca9a104d62e | |
parent | 39d63f2a3f95dce96e65f88c0a4560c3ca857a5f (diff) | |
download | linux-b16062facbf9952d9d69621a6bf87e1188973ccd.tar.xz |
ath5k: unify rx descriptor error handling
There is no reason for a special handling (return) here, just break like we do
with the checks before.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 5479f85fcd35..d9df11490ab6 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c @@ -1937,8 +1937,7 @@ ath5k_tasklet_rx(unsigned long data) else if (unlikely(ret)) { ATH5K_ERR(sc, "error in processing rx descriptor\n"); sc->stats.rxerr_proc++; - spin_unlock(&sc->rxbuflock); - return; + break; } sc->stats.rx_all_count++; |