diff options
author | Andre Eisenbach <andre@broadcom.com> | 2012-09-18 01:35:44 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-09-18 10:06:32 -0700 |
commit | cc914cffd521b2e6e1be804c82aea2388b843ebf (patch) | |
tree | a4859572083eb29c931cc5066645f9c0a2929d71 /bta/gatt/bta_gatts_main.c | |
parent | 6ed67e2ac54c83d18701d2b4ee1b9d729e99a38c (diff) | |
download | external_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 'bta/gatt/bta_gatts_main.c')
-rw-r--r-- | bta/gatt/bta_gatts_main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bta/gatt/bta_gatts_main.c b/bta/gatt/bta_gatts_main.c index 6870016..0b41ce2 100644 --- a/bta/gatt/bta_gatts_main.c +++ b/bta/gatt/bta_gatts_main.c @@ -2,7 +2,7 @@ ** ** Name: bta_gatts_main.c ** -** Description: This file contains the GATT server main functions +** Description: This file contains the GATT server main functions ** and state machine. ** ** Copyright (c) 2003-2010, Broadcom Corp., All Rights Reserved. @@ -43,7 +43,7 @@ tBTA_GATTS_CB bta_gatts_cb; ** Function bta_gatts_hdl_event ** ** Description BTA GATT server main event handling function. -** +** ** ** Returns void ** @@ -72,19 +72,19 @@ BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg) break; case BTA_GATTS_API_INDICATION_EVT: - bta_gatts_indicate_handle(p_cb,(tBTA_GATTS_DATA *) p_msg); + bta_gatts_indicate_handle(p_cb,(tBTA_GATTS_DATA *) p_msg); break; case BTA_GATTS_API_OPEN_EVT: - bta_gatts_open(p_cb,(tBTA_GATTS_DATA *) p_msg); + bta_gatts_open(p_cb,(tBTA_GATTS_DATA *) p_msg); break; case BTA_GATTS_API_CANCEL_OPEN_EVT: - bta_gatts_cancel_open(p_cb,(tBTA_GATTS_DATA *) p_msg); + bta_gatts_cancel_open(p_cb,(tBTA_GATTS_DATA *) p_msg); break; case BTA_GATTS_API_CLOSE_EVT: - bta_gatts_close(p_cb,(tBTA_GATTS_DATA *) p_msg); + bta_gatts_close(p_cb,(tBTA_GATTS_DATA *) p_msg); break; case BTA_GATTS_API_RSP_EVT: @@ -98,7 +98,7 @@ BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg) case BTA_GATTS_API_START_SRVC_EVT: case BTA_GATTS_API_STOP_SRVC_EVT: - p_srvc_cb = bta_gatts_find_srvc_cb_by_srvc_id(p_cb, + p_srvc_cb = bta_gatts_find_srvc_cb_by_srvc_id(p_cb, ((tBTA_GATTS_DATA *)p_msg)->api_add_incl_srvc.hdr.layer_specific); if (p_srvc_cb != NULL) |