diff options
author | Bruno Randolf <br1@einfach.org> | 2010-06-16 06:11:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-16 14:59:02 -0400 |
commit | b16062facbf9952d9d69621a6bf87e1188973ccd (patch) | |
tree | 75ed8e8b2b03bddf2dd52affd360aca9a104d62e | |
parent | 39d63f2a3f95dce96e65f88c0a4560c3ca857a5f (diff) |
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) | |||
1937 | else if (unlikely(ret)) { | 1937 | else if (unlikely(ret)) { |
1938 | ATH5K_ERR(sc, "error in processing rx descriptor\n"); | 1938 | ATH5K_ERR(sc, "error in processing rx descriptor\n"); |
1939 | sc->stats.rxerr_proc++; | 1939 | sc->stats.rxerr_proc++; |
1940 | spin_unlock(&sc->rxbuflock); | 1940 | break; |
1941 | return; | ||
1942 | } | 1941 | } |
1943 | 1942 | ||
1944 | sc->stats.rx_all_count++; | 1943 | sc->stats.rx_all_count++; |