projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d63f2
)
ath5k: unify rx descriptor error handling
author
Bruno Randolf
<br1@einfach.org>
Wed, 16 Jun 2010 10:11:46 +0000
(19:11 +0900)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 16 Jun 2010 18:59:02 +0000
(14:59 -0400)
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>
drivers/net/wireless/ath/ath5k/base.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/base.c
b/drivers/net/wireless/ath/ath5k/base.c
index 5479f85fcd353ba0c9195bef2c599426a65779e9..d9df11490ab66f04021ab6075dd32d8b0ad3dedf 100644
(file)
--- 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++;