Bluetooth: Add support for vectored writes to virtual HCI driver
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 29 Dec 2013 05:57:14 +0000 (21:57 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 29 Dec 2013 19:25:52 +0000 (21:25 +0200)
commit5bc00b5c58f051bfe076be319b5e0b8062553016
tree38d2d5728a40921d1d7094afaa21fa6c50a91b83
parentde8b582893b9eaa098e7efb385a484819657920b
Bluetooth: Add support for vectored writes to virtual HCI driver

The Bluetooth virtual HCI driver is using a misc character device to
allow emulation of HCI devices from userspace. This change enables the
support for vectored writes. Previously this was failing with EINVAL
since no complete H:4 packet was written.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_vhci.c