Bluetooth: Add initialization tracking to HCI Three-wire driver
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Jul 2012 13:12:15 +0000 (16:12 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 17 Jul 2012 17:48:35 +0000 (14:48 -0300)
commitf674a057c1f6b0fedf7d989c6dac0b482fef1b55
tree2d2522f99ae5987cdefc2a64e189d7c2e6094594
parent10122d07ced378ec9187f4b3110e110282beb192
Bluetooth: Add initialization tracking to HCI Three-wire driver

This patch adds tracking for the uninitialized, initialized and active
states for Three-wire UART. This is needed so we can handle periodic
sending of the Link Establishment messages before reaching active state
and so that we do not try to do any higher level HCI data transmission
before reaching active state.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/hci_h5.c