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: NJun Nie <njun@marvell.com> Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
Showing
想要评论请 注册 或 登录