diff options
author | Thomas Pugliese <[email protected]> | 2014-04-23 14:28:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-04-24 12:45:41 -0700 |
commit | bd130adacaf8cea179f9a700fb694f5be3b05bf0 (patch) | |
tree | 16afa8c2512d525c3d5acb371f4194c907a2ae8b /net/lapb/lapb_out.c | |
parent | 7584f2ebc18b6355f21be5fb2f75afbf3f781ce5 (diff) |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions