USB: ohci: set urb->hcpriv = NULL immediately, after free it
authorChen Gang <gang.chen@asianux.com>
Wed, 19 Dec 2012 01:18:57 +0000 (09:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jan 2013 00:03:38 +0000 (16:03 -0800)
commitece1d77ed73b335319725f1d5ffa72ca3fa9b05c
treee6caafbfa8110e9799e550c4c0afc1a516471e6b
parent2c449e380153b72e184dd253ce6470acaee53cb0
USB: ohci: set urb->hcpriv = NULL immediately, after free it

although we can not say it is surely a bug.
it is better to set urb->hcpriv = NULL, after finish calling
urb_free_priv.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-q.c