isdn: fix obvious cut-and-paste error in st5481_usb.c
authorRobert P. J. Day <rpjday@crashcourse.ca>
Mon, 28 Apr 2008 09:14:40 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:34 +0000 (08:58 -0700)
Fix a rather obvious cut-and-paste error, where earlier code for the
controller URB got somehow mixed in with code for the interrupt URB.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/hisax/st5481_usb.c

index 4ada66b8b6792e2eb1025479a610fb6fb5d980c3..427a8b0520f5aee14684503f208e5faa6f841d1b 100644 (file)
@@ -342,7 +342,7 @@ void st5481_release_usb(struct st5481_adapter *adapter)
        usb_kill_urb(intr->urb);
        kfree(intr->urb->transfer_buffer);
        usb_free_urb(intr->urb);
-       ctrl->urb = NULL;
+       intr->urb = NULL;
 }
 
 /*