aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/ft1000/ft1000-usb/ft1000_usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
index 99e33390237..6925622795a 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
@@ -178,7 +178,7 @@ static int ft1000_probe(struct usb_interface *interface,
178 178
179 if (IS_ERR(pft1000info->pPollThread)) { 179 if (IS_ERR(pft1000info->pPollThread)) {
180 ret = PTR_ERR(pft1000info->pPollThread); 180 ret = PTR_ERR(pft1000info->pPollThread);
181 goto err_thread; 181 goto err_load;
182 } 182 }
183 183
184 msleep(500); 184 msleep(500);
@@ -186,7 +186,7 @@ static int ft1000_probe(struct usb_interface *interface,
186 while (!pft1000info->CardReady) { 186 while (!pft1000info->CardReady) {
187 if (gPollingfailed) { 187 if (gPollingfailed) {
188 ret = -EIO; 188 ret = -EIO;
189 goto err_load; 189 goto err_thread;
190 } 190 }
191 msleep(100); 191 msleep(100);
192 DEBUG("ft1000_probe::Waiting for Card Ready\n"); 192 DEBUG("ft1000_probe::Waiting for Card Ready\n");
@@ -196,7 +196,7 @@ static int ft1000_probe(struct usb_interface *interface,
196 196
197 ret = reg_ft1000_netdev(ft1000dev, interface); 197 ret = reg_ft1000_netdev(ft1000dev, interface);
198 if (ret) 198 if (ret)
199 goto err_load; 199 goto err_thread;
200 200
201 pft1000info->NetDevRegDone = 1; 201 pft1000info->NetDevRegDone = 1;
202 202