Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aad445f8 authored by Roel Kluin's avatar Roel Kluin Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()



The error tested for is negative

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fa5c5f4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}