projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71352b2
)
rtlwifi: Fix logic in rx_interrupt
author
Mike McCormack
<mikem@ring3k.org>
Mon, 30 May 2011 23:50:24 +0000
(08:50 +0900)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 3 Jun 2011 19:01:06 +0000
(15:01 -0400)
Should pass along packet if there's no CRC and no hardware error.
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rtlwifi/pci.c
b/drivers/net/wireless/rtlwifi/pci.c
index
e29feef
..
fc44005
100644
(file)
--- a/
drivers/net/wireless/rtlwifi/pci.c
+++ b/
drivers/net/wireless/rtlwifi/pci.c
@@
-701,7
+701,7
@@
static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw)
rtlpci->rxbuffersize,
PCI_DMA_FROMDEVICE);
- if (!stats.crc
||
!stats.hwerror) {
+ if (!stats.crc
&&
!stats.hwerror) {
memcpy(IEEE80211_SKB_RXCB(skb), &rx_status,
sizeof(rx_status));