diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2013-10-14 19:58:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-15 09:42:12 -0700 |
commit | 759e9eba4380420ee6c33873cde1b503d5962154 (patch) | |
tree | 5150d22a8c9340df98f4a887b96b70d4f460c7b4 /drivers/staging/vt6656 | |
parent | dc070641ee2df26da60fa9a1cbe446ee59ce4f0e (diff) | |
download | linux-759e9eba4380420ee6c33873cde1b503d5962154.tar.bz2 |
staging: vt6656: main_usb.c correct pDevice->pControlURB goto
Correct goto of patch
staging: vt6656: make pControlURB available life time of driver.
Which should free_netdev.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 0de215657388..a4fdd3a73ee1 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -710,7 +710,7 @@ vt6656_probe(struct usb_interface *intf, const struct usb_device_id *id) pDevice->pControlURB = usb_alloc_urb(0, GFP_ATOMIC); if (!pDevice->pControlURB) { DBG_PRT(MSG_LEVEL_ERR, KERN_ERR"Failed to alloc control urb\n"); - goto err_nomem; + goto err_netdev; } pDevice->tx_80211 = device_dma0_tx_80211; |