Re: [PATCH 2/2] Bluetooth: Remove unnecessary stop_scan_complete function

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

 



Hi Johan,

> The stop_scan_complete function was used as an intermediate step before
> doing the actual connection creation. Since we're using hci_request
> there's no reason to have this extra function around, i.e. we can simply
> put both HCI commands into the same request.
> 
> The single task that the intermediate function had, i.e. indicating
> discovery as stopped is now taken care of by a new
> HCI_LE_SCAN_INTERRUPTED flag which allows us to do the discovery state
> update when the stop scan command completes.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> include/net/bluetooth/hci.h |  1 +
> net/bluetooth/hci_conn.c    | 51 +++++++--------------------------------------
> net/bluetooth/hci_event.c   |  7 +++++++
> 3 files changed, 16 insertions(+), 43 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