Files
i2som-imx-linux/net
Fugang Duan c9f3c00918 MLK-12330 Bluetooth: Revert "MLK-12295 Bluetooth: add hdev check to avoid passing null pointer"
This reverts commit dce2d1ebda.

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>
2016-01-27 16:44:12 +08:00
..
2015-10-22 14:43:20 -07:00