summaryrefslogtreecommitdiffstats
path: root/stack/btu/btu_task.c
diff options
context:
space:
mode:
authorAndre Eisenbach <andre@broadcom.com>2012-09-18 01:35:44 -0700
committerMatthew Xie <mattx@google.com>2012-09-18 10:06:32 -0700
commitcc914cffd521b2e6e1be804c82aea2388b843ebf (patch)
treea4859572083eb29c931cc5066645f9c0a2929d71 /stack/btu/btu_task.c
parent6ed67e2ac54c83d18701d2b4ee1b9d729e99a38c (diff)
downloadexternal_bluetooth_bluedroid-cc914cffd521b2e6e1be804c82aea2388b843ebf.zip
external_bluetooth_bluedroid-cc914cffd521b2e6e1be804c82aea2388b843ebf.tar.gz
external_bluetooth_bluedroid-cc914cffd521b2e6e1be804c82aea2388b843ebf.tar.bz2
Header file and whitespace cleanups
Also fixed file permission to remove executable bit from source files. Change-Id: I6954c2d16190bc35b1b0d38386543253696b1112
Diffstat (limited to 'stack/btu/btu_task.c')
-rw-r--r--stack/btu/btu_task.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/stack/btu/btu_task.c b/stack/btu/btu_task.c
index 5753154..291e149 100644
--- a/stack/btu/btu_task.c
+++ b/stack/btu/btu_task.c
@@ -51,7 +51,7 @@
#include "bip_int.h"
#endif /* BIP */
-#if (BPP_SND_INCLUDED == TRUE || BPP_INCLUDED == TRUE)
+#if (BPP_SND_INCLUDED == TRUE || BPP_INCLUDED == TRUE)
#include "bpp_int.h"
#endif /* BPP */
@@ -114,7 +114,7 @@ extern void avdt_rcv_sync_info (BT_HDR *p_buf); /* this is for hci_test */
#endif
#ifdef __cplusplus
-extern "C"
+extern "C"
{
#endif
@@ -157,7 +157,7 @@ BTU_API UINT32 btu_task (UINT32 param)
/* wait an event that HCISU is ready */
GKI_wait(0xFFFF, 0);
#endif
- /* Initialize the mandatory core stack control blocks
+ /* Initialize the mandatory core stack control blocks
(BTU, BTM, L2CAP, and SDP)
*/
btu_init_core();
@@ -206,7 +206,7 @@ BTU_API UINT32 btu_task (UINT32 param)
#if BTM_SCO_INCLUDED == TRUE
btm_route_sco_data (p_msg);
break;
-#endif
+#endif
case BT_EVT_TO_BTU_HCI_EVT:
btu_hcif_process_event ((UINT8)(p_msg->event & BT_SUB_EVT_MASK), p_msg);
@@ -431,7 +431,7 @@ BTU_API UINT32 btu_task (UINT32 param)
case BTU_TTYPE_ATT_WAIT_FOR_RSP:
gatt_rsp_timeout(p_tle);
break;
-
+
case BTU_TTYPE_ATT_WAIT_FOR_IND_ACK:
gatt_ind_ack_timeout(p_tle);
break;
@@ -806,7 +806,7 @@ void btu_deregister_event_range (UINT16 range)
*******************************************************************************/
void btu_check_bt_sleep (void)
{
- if ((btu_cb.hci_cmd_cb[LOCAL_BR_EDR_CONTROLLER_ID].cmd_cmpl_q.count == 0)
+ if ((btu_cb.hci_cmd_cb[LOCAL_BR_EDR_CONTROLLER_ID].cmd_cmpl_q.count == 0)
&&(btu_cb.hci_cmd_cb[LOCAL_BR_EDR_CONTROLLER_ID].cmd_xmit_q.count == 0))
{
if (l2cb.controller_xmit_window == l2cb.num_lm_acl_bufs)