Re: [PATCH] Bluetooth: Don't try background scanning if LE is not enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

> For adapters that do not support LE and ones where LE hasn't been
> enabled we shouldn't be trying to initiate background scanning. This
> patch adds an extra check to the hci_update_background_scan() to ensure
> that we bail out if HCI_LE_ENABLED is not set.
> 
> Since we do allow user space to feed the kernel with LE connection
> parameters even when LE is not enabled we now need to also call
> hci_update_background_scan() as soon as LE gets enabled so that scanning
> gets started if necessary.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> net/bluetooth/hci_core.c | 4 ++++
> net/bluetooth/mgmt.c     | 2 ++
> 2 files changed, 6 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux