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)
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

Simple merge