Commit 7fdba2f2 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Greg Kroah-Hartman

USB: Fix cut-and-paste error in rtl8150.c

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 055b93c9
...@@ -376,7 +376,7 @@ static int alloc_all_urbs(rtl8150_t * dev) ...@@ -376,7 +376,7 @@ static int alloc_all_urbs(rtl8150_t * dev)
return 0; return 0;
} }
dev->ctrl_urb = usb_alloc_urb(0, GFP_KERNEL); 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->rx_urb);
usb_free_urb(dev->tx_urb); usb_free_urb(dev->tx_urb);
usb_free_urb(dev->intr_urb); usb_free_urb(dev->intr_urb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment