From 3f48a2b0898f58816cdb537cc2c37c20fea0542a Mon Sep 17 00:00:00 2001 From: Kulikov Vasiliy Date: Wed, 11 Aug 2010 12:02:10 +0400 Subject: [PATCH] --- yaml --- r: 219685 b: refs/heads/master c: c2c6a66a51da4d7311aa4508c1cd56c2397cf708 h: refs/heads/master i: 219683: 9d103550d6fbb7416aed19dd0e800171045f1007 v: v3 --- [refs] | 2 +- trunk/drivers/staging/usbip/stub_dev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b72dcb33c0d4..74b3d2aacd94 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 211673991ec168c293791a94ad7aa31998907768 +refs/heads/master: c2c6a66a51da4d7311aa4508c1cd56c2397cf708 diff --git a/trunk/drivers/staging/usbip/stub_dev.c b/trunk/drivers/staging/usbip/stub_dev.c index b6b753a49346..b186b5fed2b9 100644 --- a/trunk/drivers/staging/usbip/stub_dev.c +++ b/trunk/drivers/staging/usbip/stub_dev.c @@ -427,11 +427,11 @@ static int stub_probe(struct usb_interface *interface, if (busid_priv->status == STUB_BUSID_ALLOC) { - busid_priv->interf_count++; sdev = busid_priv->sdev; if (!sdev) return -ENODEV; + busid_priv->interf_count++; dev_info(&interface->dev, "USB/IP Stub: register a new interface " "(bus %u dev %u ifn %u)\n", udev->bus->busnum, udev->devnum,