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)
commitf60cb30579d3401cab1ed36b42df5c0568ae0ba7
tree27f3b73ea066bb1053857cbee1c5c938c2564fd1
parente6214487492566b15ff24e97c6747bb2e5d9e040
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
This page took 0.026177 seconds and 5 git commands to generate.