Bluetooth: Notify Bluesleep driver about HCI send frame.

Bluesleep driver, out-of-band sleep protocol, needs to be
notified in case of MSM initiated datatransfer to wakeup
BTS chip. This notification is required to turn on UART
clocks. This change was missing in the .38 kernel
which is vital for Bluetooth to work in 7x27.

Change-Id: I6e2004c13d140901c9bdee7a98ca43e2f9c07dc3
Signed-off-by: NaveenKumar <naveenr@codeaurora.org>
This commit is contained in:
NaveenKumar
2011-04-28 19:12:01 +05:30
committed by Stephen Boyd
parent 43df3a6639
commit 6fa553bd2f
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@
#define HCI_DEV_DOWN 4
#define HCI_DEV_SUSPEND 5
#define HCI_DEV_RESUME 6
#define HCI_DEV_WRITE 7
/* HCI notify events */
#define HCI_NOTIFY_CONN_ADD 1

View File

@@ -1885,6 +1885,7 @@ static int hci_send_frame(struct sk_buff *skb)
/* Get rid of skb owner, prior to sending to the driver. */
skb_orphan(skb);
hci_notify(hdev, HCI_DEV_WRITE);
return hdev->send(skb);
}