diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-11-20 19:12:33 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-23 19:27:46 (GMT) |
commit | aad445f8ccd554cd3013af7bd0a6cfae599a2505 (patch) | |
tree | e28df31bb95853691570bc9be346ad2bde222343 | |
parent | fa5c5f4ce0c9ba03a670c640cad17e14cb35678b (diff) | |
download | linux-aad445f8ccd554cd3013af7bd0a6cfae599a2505.tar.xz |
Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()
The error tested for is negative
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/rtl8192su/r8192U_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192su/r8192U_core.c b/drivers/staging/rtl8192su/r8192U_core.c index 66274d7..b492ff5 100644 --- 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); } |