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:
fa5c5f4
)
Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()
author
Roel Kluin
<roel.kluin@gmail.com>
Fri, 20 Nov 2009 19:12:33 +0000
(20:12 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 23 Dec 2009 19:27:46 +0000
(11:27 -0800)
The error tested for is negative
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192su/r8192U_core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192su/r8192U_core.c
b/drivers/staging/rtl8192su/r8192U_core.c
index 66274d7666ff04de3b7e6215196d377e740f1b9d..b492ff588b8c36ac285fa87920ec14d2b5c19cd4 100644
(file)
--- a/
drivers/staging/rtl8192su/r8192U_core.c
+++ b/
drivers/staging/rtl8192su/r8192U_core.c
@@
-1501,7
+1501,7
@@
static void rtl8192_rx_isr(struct urb *urb)
urb->context = skb;
skb_queue_tail(&priv->rx_queue, skb);
err = usb_submit_urb(urb, GFP_ATOMIC);
- if(err && err != EPERM)
+ if(err && err !=
-
EPERM)
printk("can not submit rxurb, err is %x,URB status is %x\n",err,urb->status);
}