From: Thomas Pugliese Date: Wed, 23 Apr 2014 19:28:10 +0000 (-0500) Subject: usb: wusbcore: fix panic in wusbhc_chid_set X-Git-Tag: omap-for-v3.16/pm-signed~48^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd130adacaf8cea179f9a700fb694f5be3b05bf0;p=pandora-kernel.git usb: wusbcore: fix panic in wusbhc_chid_set If no valid CHID value has previously been set on an HWA, writing a value of all zeros will cause a kernel panic in uwb_radio_stop because wusbhc->uwb_rc has not been set. This patch skips the call to uwb_radio_stop if wusbhc->uwb_rc has not been initialized. Signed-off-by: Thomas Pugliese Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed