summaryrefslogtreecommitdiff
path: root/net/bluetooth/af_bluetooth.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-09-14 11:11:06 +0400
committerMarcel Holtmann <marcel@holtmann.org>2014-09-14 20:35:28 +0400
commit047b2ec8d3778a046d6985d4ad410c85211a86a4 (patch)
tree436d743621b934984bd60ddac6a3adc5bf602f08 /net/bluetooth/af_bluetooth.c
parente9753eff1b875d579dc04d675e72d6e31e866927 (diff)
downloadlinux-047b2ec8d3778a046d6985d4ad410c85211a86a4.tar.xz
Bluetooth: btusb: Separate TX URB allocation and submission
The complete TX URB handling is done via a switch statement in the btusb_send_frame function. To allow for more clear separation between control, bulk and isoc URBs, split them into allocation and submission. Previously the inc_tx function has been used for tracking in-flight URB for HCI commands and ACL data packets. Convert that into a common function that either submits the URB or queues it when needed. This provides the flexibility to allow vendor specific hdev->send_frame callbacks without having to duplicate the whole URB handling logic. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
0 files changed, 0 insertions, 0 deletions