commit | 788f0923d3cb5256b12113c041c2381e4b3cecf6 | [log] [tgz] |
---|---|---|
author | Chan-yeol Park <chanyeol.park@samsung.com> | Tue Apr 02 21:24:22 2013 +0900 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Apr 04 12:36:00 2013 +0300 |
tree | e351468b54d7b70a8c6542c60aefa5f3e1ac6388 | |
parent | c2578202919ace314908306346b99796d46aab64 [diff] |
Bluetooth: Fix possible NULL dereference in hci_uart_tty_receive This patch adds a NULL check for the HCI UART ldisc driver because some of HCI UART drivers allow hci_uart_tty_receive function to be called even though the HCI device hasn't been registered yet. Signed-off-by: Chan-yeol Park <chanyeol.park@samsung.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>