]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Check HCI_PERIODIC_INQ in start_discovery
authorAndre Guedes <aguedespe@gmail.com>
Wed, 21 Mar 2012 03:03:37 +0000 (00:03 -0300)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 28 Mar 2012 15:28:52 +0000 (12:28 -0300)
commitb3d94891c1cd4d14b0b2a2f4e8b84033f24dbd31
treecc719b5bd61cf47b29ba0320bb22b0a1c330e293
parente06471506f15e9b1fa268a94a8cccae482a88ff7
Bluetooth: Check HCI_PERIODIC_INQ in start_discovery

This patch adds a HCI_PERIODIC_INQ check to start_discovery.
If periodic inquiry is enabled, we fail MGMT Start Discovery
command with MGMT_STATUS_BUSY code.

Signed-off-by: Andre Guedes <aguedespe@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/mgmt.c