]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: add NULL pointer check in HCI
authorJun Nie <njun@marvell.com>
Tue, 7 Dec 2010 06:03:38 +0000 (14:03 +0800)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Dec 2010 15:22:22 +0000 (13:22 -0200)
commitb2b2d971a6183e9b4a5b8b7ab04efd12de5e6e2b
tree891fbc0e6604f575d5135ade3fd827b51038a8e0
parentef4eeace1f07f1f2d53052f0eff950bf634d5018
Bluetooth: add NULL pointer check in HCI

If we fail to find a hci device pointer in hci_uart, don't try
to deref the NULL one we do have.

Signed-off-by: Jun Nie <njun@marvell.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
drivers/bluetooth/hci_ldisc.c