]> Git Repo - linux.git/commit - net/bluetooth/mgmt.c
Bluetooth: Reorganize set_connectable HCI command sending
authorJohan Hedberg <[email protected]>
Mon, 14 Oct 2013 13:20:03 +0000 (16:20 +0300)
committerMarcel Holtmann <[email protected]>
Mon, 14 Oct 2013 13:48:08 +0000 (06:48 -0700)
commit9b74246f3a074b6072fa81002805ceaefb87a013
tree038703660211649da80f295d588db49fb1284065
parentd97c899bde330cd1c76c3a162558177563a74362
Bluetooth: Reorganize set_connectable HCI command sending

This patch moves all the decisions of which HCI commands to send (or not
to send) to the code between hci_req_init() and hci_req_run() this
allows us to further extend the request with further commands but still
keep the same logic of handling whether to return a direct mgmt response
in the case that no HCI commands were sent.

Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
net/bluetooth/mgmt.c
This page took 0.047211 seconds and 4 git commands to generate.