Bluetooth: Use wait_event_interruptible for virtual driver
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Jun 2009 12:13:57 +0000 (14:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Jun 2009 12:50:01 +0000 (14:50 +0200)
commit4db7589f3d88c09d740560f1dcf2d4d843d918f2
tree8369420bfd5bef1074fd9e617e84bc81e25341b3
parentac28494c51ad20c7ff9cb991eaeee359a500d88e
Bluetooth: Use wait_event_interruptible for virtual driver

The virtual driver still uses a home grown way of waiting for events and
so just replace it with wait_event_interruptible. And while at it remove
the useless access_ok() checks.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_vhci.c