]> 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)
commit70287b7a79a1906e0cedeea476213e820de43e40
tree27f3b73ea066bb1053857cbee1c5c938c2564fd1
parentaee0d7b760945d5353bafcea4e76aa7a167b0d24
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