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: MMI-PSA29.97-13-9~35326 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f3429545d03a553c6a3e9fcf60ddea31819848ad;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 4ada66b8b679..427a8b0520f5 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; } /*