mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
uwb: stop uwbd thread if rc->start() fails
This fixes an oops when uwbd thread continues running after a failed radio controller start. Signed-off-by: David Vrabel <david.vrabel@csr.com>
This commit is contained in:
parent
3fafdd7cc8
commit
a9e75a3892
1 changed files with 1 additions and 1 deletions
|
@ -288,8 +288,8 @@ error_sys_add:
|
||||||
error_dev_add:
|
error_dev_add:
|
||||||
error_rc_setup:
|
error_rc_setup:
|
||||||
rc->stop(rc);
|
rc->stop(rc);
|
||||||
uwbd_stop(rc);
|
|
||||||
error_rc_start:
|
error_rc_start:
|
||||||
|
uwbd_stop(rc);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(uwb_rc_add);
|
EXPORT_SYMBOL_GPL(uwb_rc_add);
|
||||||
|
|
Loading…
Reference in a new issue