commit | 33ca954daf1ac03c86237b73235d8b0856d84981 | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@googlemail.com> | Sat Oct 08 14:58:49 2011 +0200 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Fri Oct 14 15:22:44 2011 -0300 |
tree | 6898afeb560eb56f5ef9442b0ea6dece577e2ea9 | |
parent | ce242970f0934869483221c410d09c00bc8967e7 [diff] |
Bluetooth: Forward errors from hci_register_dev We need to catch errors when calling hci_add_sysfs() and return them to the caller to avoid kernel oopses on device_add() failure. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>