]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51ed72b0b8bf8f6e11b4a2f9fa430b38440316dc
tree38d2d5728a40921d1d7094afaa21fa6c50a91b83
parentb82119c93d2bf35261bcc18322de2dc0e9a03c06
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