summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2013-10-14 19:58:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-15 09:42:12 -0700
commit759e9eba4380420ee6c33873cde1b503d5962154 (patch)
tree5150d22a8c9340df98f4a887b96b70d4f460c7b4 /drivers/staging/vt6656
parentdc070641ee2df26da60fa9a1cbe446ee59ce4f0e (diff)
downloadlinux-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.c2
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;