From: Robert P. J. Day Date: Mon, 10 Mar 2008 00:44:52 +0000 (-0400) Subject: USB: Fix cut-and-paste error in rtl8150.c X-Git-Tag: v2.6.25-rc7~5^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7fdba2f2917da4403044d9ea5d239f9cc0e9693d;p=linux-2.6-omap-h63xx.git USB: Fix cut-and-paste error in rtl8150.c Signed-off-by: Robert P. J. Day Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 7e1f00131f9..df56a518691 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c @@ -376,7 +376,7 @@ static int alloc_all_urbs(rtl8150_t * dev) return 0; } dev->ctrl_urb = usb_alloc_urb(0, GFP_KERNEL); - if (!dev->intr_urb) { + if (!dev->ctrl_urb) { usb_free_urb(dev->rx_urb); usb_free_urb(dev->tx_urb); usb_free_urb(dev->intr_urb);