Merge remote-tracking branch 'remotes/tegra/android-tegra-2.6.36-honeycomb-mr1' into...
[firefly-linux-kernel-4.4.55.git] / drivers / bluetooth / hci_h4.c
old mode 100644 (file)
new mode 100755 (executable)
index 7b8ad93..e12d2a3
@@ -62,6 +62,10 @@ struct h4_struct {
 #define H4_W4_SCO_HDR          3
 #define H4_W4_DATA             4
 
+#ifdef CONFIG_BT_HCIBCM4325  
+extern int bcm4325_sleep(int bSleep);
+#endif
+
 /* Initialize protocol */
 static int h4_open(struct hci_uart *hu)
 {
@@ -140,7 +144,9 @@ static inline int h4_check_data_len(struct h4_struct *h4, int len)
                h4->rx_count = len;
                return len;
        }
-
+#ifdef CONFIG_BT_HCIBCM4325  
+       bcm4325_sleep(1);
+#endif;        
        h4->rx_state = H4_W4_PACKET_TYPE;
        h4->rx_skb   = NULL;
        h4->rx_count = 0;