diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-09 20:44:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-24 22:26:15 -0700 |
commit | 7fdba2f2917da4403044d9ea5d239f9cc0e9693d (patch) | |
tree | a8573addc87526bc07adb1ad3d04a639077842d2 /drivers/net | |
parent | 055b93c9e32a44acfe3e5e58b900f1e8fcd5f858 (diff) | |
download | kernel_samsung_tuna-7fdba2f2917da4403044d9ea5d239f9cc0e9693d.zip kernel_samsung_tuna-7fdba2f2917da4403044d9ea5d239f9cc0e9693d.tar.gz kernel_samsung_tuna-7fdba2f2917da4403044d9ea5d239f9cc0e9693d.tar.bz2 |
USB: Fix cut-and-paste error in rtl8150.c
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/usb/rtl8150.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 7e1f001..df56a51 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); |