forked from Minki/linux
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>
This commit is contained in:
parent
055b93c9e3
commit
7fdba2f291
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user