Re: [PATCH] Bluetooth: Convert Set SC to use HCI Request

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

 



Hi Johan,

> This patch converts the Set Secure Connection HCI handling to use a HCI
> request instead of using a hard-coded callback in hci_event.c. This e.g.
> ensures that we don't clear the flags incorrectly if something goes
> wrong with the power up process (not related to a mgmt Set SC command).
> 
> The code can also be simplified a bit since only one pending Set SC
> command is allowed, i.e. mgmt_pending_foreach usage is not needed.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> include/net/bluetooth/hci_core.h |  1 -
> net/bluetooth/hci_event.c        |  4 +-
> net/bluetooth/mgmt.c             | 92 +++++++++++++++++++++-------------------
> 3 files changed, 50 insertions(+), 47 deletions(-)

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