Bluetooth: Fix crash when ioctl(HCIUARTSETPROTO) fails
authorGustavo F. Padovan <padovan@profusion.mobi>
Tue, 15 Feb 2011 23:22:03 +0000 (20:22 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Feb 2011 19:33:24 +0000 (16:33 -0300)
If the fail happens the HCI del_timer may timeout after the the hci dev
unregister. This lead to a kernel crash.

Reported-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>

No differences found