]> git.baikalelectronics.ru Git - kernel.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)
commitb21c546d5b0abe4eb662001702cab71b6c4b3e00
treef62deae1e4270c5edf899046c814a9f6b5c129df
parent4f548b921c8e5309be5979808e85125db5103050
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