]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Update page scan when necessary for Add/Remove Device
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 09:59:15 +0000 (12:59 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 10:25:27 +0000 (12:25 +0200)
commita397407f266f8dcb6ea7b28cbff9d9cbd87b6ca8
treef62deae1e4270c5edf899046c814a9f6b5c129df
parent6659358efe617bb46237e62f7303c76e10568d70
Bluetooth: Update page scan when necessary for Add/Remove Device

When we're removing the last item in the white list or adding the first
one to it and HCI_CONNECTABLE is not set we need to update the current
page scan. This patch adds a simple helper function for the purpose and
calls it from the respective mgmt command handlers.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c