From: Robert P. J. Day Date: Mon, 28 Apr 2008 09:14:40 +0000 (-0700) Subject: isdn: fix obvious cut-and-paste error in st5481_usb.c X-Git-Tag: v2.6.26-rc1~856 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3429545d03a553c6a3e9fcf60ddea31819848ad;p=linux-2.6 isdn: fix obvious cut-and-paste error in st5481_usb.c 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 Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/isdn/hisax/st5481_usb.c b/drivers/isdn/hisax/st5481_usb.c index 4ada66b8b6..427a8b0520 100644 --- a/drivers/isdn/hisax/st5481_usb.c +++ b/drivers/isdn/hisax/st5481_usb.c @@ -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; } /*