mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
fa5c5f4ce0
commit
aad445f8cc
1 changed files with 1 additions and 1 deletions
|
@ -1501,7 +1501,7 @@ static void rtl8192_rx_isr(struct urb *urb)
|
||||||
urb->context = skb;
|
urb->context = skb;
|
||||||
skb_queue_tail(&priv->rx_queue, skb);
|
skb_queue_tail(&priv->rx_queue, skb);
|
||||||
err = usb_submit_urb(urb, GFP_ATOMIC);
|
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);
|
printk("can not submit rxurb, err is %x,URB status is %x\n",err,urb->status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue