2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/net/bluetooth
Johan Hedberg 9a43e25fff Bluetooth: Update Set Discoverable to support LE
This patch updates the Set Discoverable management command to also be
applicable for LE. In particular this affects the advertising flags
where we can say "general discoverable" or "limited discoverable".

Since the device flags may not be up-to-date when the advertising data
is written this patch introduces a get_adv_discov_flags() helper
function which also looks at any pending mgmt commands (a pending
set_discoverable would be the exception when the flags are not yet
correct).

The patch also adds HCI_DISCOVERABLE flag clearing to the
mgmt_discoverable_timeout function, since the code was previously
relying on the mgmt_discoverable callback to handle this, which is only
called for the BR/EDR-only HCI_Write_Scan_Enable command.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2013-10-20 09:05:41 -07:00
..
bnep Bluetooth: Access BNEP session addresses through L2CAP channel 2013-10-13 20:00:35 +03:00
cmtp Bluetooth: Access CMTP session addresses through L2CAP channel 2013-10-13 20:00:30 +03:00
hidp Bluetooth: Access HIDP session addresses through L2CAP channel 2013-10-13 20:00:33 +03:00
rfcomm Bluetooth: Use IS_ERR_OR_NULL for checking bt_debugfs 2013-10-18 10:45:19 +03:00
a2mp.c Bluetooth: Ignore A2MP data on non-BR/EDR links 2013-10-16 01:41:13 -07:00
a2mp.h Bluetooth: Move a2mp.h header file into net/bluetooth/ 2013-10-11 00:10:05 +02:00
af_bluetooth.c Bluetooth: Create root debugfs directory during module init 2013-10-18 10:46:27 +03:00
amp.c Bluetooth: Remove l2cap_conn->dst usage from AMP manager 2013-10-13 17:43:32 +03:00
amp.h Bluetooth: Move amp.h header file into net/bluetooth/ 2013-10-11 00:10:03 +02:00
hci_conn.c Bluetooth: Expose debugfs settings for LE connection interval 2013-10-19 18:56:54 +03:00
hci_core.c Bluetooth: Fix minor coding style issue in hci_core.c 2013-10-19 20:46:27 +03:00
hci_event.c Bluetooth: Add support for setting SSP debug mode 2013-10-19 18:56:52 +03:00
hci_sock.c Bluetooth: Use BDADDR_BREDR type for old blacklist ioctl interface 2013-10-18 12:26:47 +03:00
hci_sysfs.c Bluetooth: Remove bus attribute in favor of hierarchy 2013-10-19 16:25:55 +03:00
Kconfig Bluetooth: trivial: Remove newline before EOF 2012-10-24 00:42:47 -02:00
l2cap_core.c Bluetooth: Block ATT connection on LE when device is blocked 2013-10-18 14:43:22 +03:00
l2cap_sock.c Bluetooth: Fix ATT socket backwards compatibility with user space 2013-10-18 01:53:57 -07:00
lib.c bluetooth: Remove unneeded batostr function 2012-09-27 18:10:43 -03:00
Makefile Bluetooth: Enable -D__CHECK_ENDIAN__ for sparse by default 2013-10-02 09:10:05 +03:00
mgmt.c Bluetooth: Update Set Discoverable to support LE 2013-10-20 09:05:41 -07:00
sco.c Bluetooth: Use IS_ERR_OR_NULL for checking bt_debugfs 2013-10-18 10:45:19 +03:00
smp.c Bluetooth: Use hcon directly instead of conn->hcon where possible 2013-10-18 14:37:01 +03:00
smp.h Bluetooth: Move smp.h header file into net/bluetooth/ 2013-10-11 00:10:07 +02:00