[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B06EA21.1010405@gmail.com>
Date: Fri, 20 Nov 2009 20:12:33 +0100
From: Roel Kluin <roel.kluin@...il.com>
To: Greg Kroah-Hartman <gregkh@...e.de>, devel@...verdev.osuosl.org,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, bzolnier@...il.com
Subject: [PATCH] r8192U_core: test for negative error in rtl8192_rx_isr()?
The error tested for is negative
Signed-off-by: Roel Kluin <roel.kluin@...il.com>
---
drivers/staging/rtl8192su/r8192U_core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Is this maybe required?
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);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists