Re: [PATCH v2] adapter: Fix not clearing connectable setting on power off

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

 



Hi Szymon,

On Mon, Feb 19, 2018, Szymon Janc wrote:
> When kernel control of connectable is used daemon doesn't enable
> connectable setting unless discoverable. Both settings are permanent
> over power toggle unless discoverable timeout was set. In that case
> discoverable flag is cleared by kernel on power off. This leads to
> connectable flag being left enabled when toggling power on discoverable
> adapter with timeout set.
> 
> This has some implications on system behaviour:
>  - accepting connection from unknown devices
>  - not being able to advertise as broadcaster
> 
> Since kernel doens't know the reason for enabling connectable flag (and
> thus if disable if on power off) this needs to be handled in bluetoothd.
> ---
>  src/adapter.c | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)

Applied. Thanks.

Johan
--
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