]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Convert hci_req_sync family of function to new request API
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 Apr 2015 10:41:09 +0000 (13:41 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 2 Apr 2015 14:09:27 +0000 (16:09 +0200)
commitb481f038b8d2d2657806c839116cdfd03eb74085
tree27f3b73ea066bb1053857cbee1c5c938c2564fd1
parentad2e3894a9138f4db32e5cf149ed80d5ebff9657
Bluetooth: Convert hci_req_sync family of function to new request API

Now that there's an API in place that allows passing the resulting skb
to the request callback we can conveniently convert the hci_req_sync and
related functions to use it. Since we still need to get the skb from the
async callback into the sleeping _sync() function the patch adds another
req_skb variable to hci_dev where the sync request state is tracked.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c