]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - net/bluetooth/mgmt.c
Bluetooth: Move HCI_LIMITED_DISCOVERABLE changes to a general place
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 19 Oct 2013 20:38:22 +0000 (23:38 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Oct 2013 16:05:41 +0000 (09:05 -0700)
commitb456f87cb0c726cf97ce1e88aecfcbacf1cdf5fe
tree6b0cae620884c4ab5f5450cfbda19ceade4c6a50
parent4b580614e1435628490a1762726638546f3a5e4e
Bluetooth: Move HCI_LIMITED_DISCOVERABLE changes to a general place

We'll soon be introducing also LE support for the Set Discoverable
management command, so move the HCI_LIMITED_DISCOVERABLE flag clearing
and setting out from the if-branch that is only used for a BR/EDR
specific HCI command.

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