Commits

Fugang Duan committed c9f3c009185
MLK-12330 Bluetooth: Revert "MLK-12295 Bluetooth: add hdev check to avoid passing null pointer" This reverts commit dce2d1ebda17c80bdcb8c9a97a5044988c03809a. The below piece of code can guarantee that any handler doesn't set HCI_MGMT_NO_HDEV will not be called with NULL hdev. ... no_hdev = (handler->flags & HCI_MGMT_NO_HDEV); if (no_hdev != !hdev) { err = mgmt_cmd_status(sk, index, opcode, MGMT_STATUS_INVALID_INDEX); goto done; } ... The issue MLK-12295 is reported mistakenly by coverity CID17648. Signed-off-by: Fugang Duan <B38611@freescale.com>