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 /stack/mcap/mca_csm.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 'stack/mcap/mca_csm.c')
-rw-r--r-- | stack/mcap/mca_csm.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/stack/mcap/mca_csm.c b/stack/mcap/mca_csm.c index 411ee6a..c36c2fb 100644 --- a/stack/mcap/mca_csm.c +++ b/stack/mcap/mca_csm.c @@ -144,7 +144,7 @@ static const char * const mca_ccb_st_str[] = { ** ** Function mca_stop_timer ** -** Description This function is stop a MCAP timer +** Description This function is stop a MCAP timer ** ** This function is for use internal to MCAP only. ** @@ -164,8 +164,8 @@ void mca_stop_timer(tMCA_CCB *p_ccb) ** ** Function mca_ccb_event ** -** Description This function is the CCB state machine main function. -** It uses the state and action function tables to execute +** Description This function is the CCB state machine main function. +** It uses the state and action function tables to execute ** action functions. ** ** Returns void. @@ -181,7 +181,7 @@ void mca_ccb_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CCB_EVT *p_data) #else MCA_TRACE_EVENT3("CCB ccb=%d event=%d state=%d", mca_ccb_to_hdl(p_ccb), event, p_ccb->state); #endif - + /* look up the state table for the current state */ state_table = mca_ccb_st_tbl[p_ccb->state - 1]; @@ -199,8 +199,8 @@ void mca_ccb_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CCB_EVT *p_data) ** ** Function mca_ccb_by_bd ** -** Description This function looks up the CCB based on the BD address. -** It returns a pointer to the CCB. +** Description This function looks up the CCB based on the BD address. +** It returns a pointer to the CCB. ** If no CCB is found it returns NULL. ** ** Returns void. @@ -234,7 +234,7 @@ tMCA_CCB *mca_ccb_by_bd(tMCA_HANDLE handle, BD_ADDR bd_addr) ** Function mca_ccb_alloc ** ** Description This function allocates a CCB and copies the BD address to -** the CCB. It returns a pointer to the CCB. If no CCB can +** the CCB. It returns a pointer to the CCB. If no CCB can ** be allocated it returns NULL. ** ** Returns void. @@ -273,7 +273,7 @@ tMCA_CCB *mca_ccb_alloc(tMCA_HANDLE handle, BD_ADDR bd_addr) ** ** Function mca_ccb_dealloc ** -** Description This function deallocates a CCB. +** Description This function deallocates a CCB. ** ** Returns void. ** @@ -311,7 +311,7 @@ void mca_ccb_dealloc(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) ** ** Function mca_ccb_to_hdl ** -** Description This function converts a pointer to a CCB to a tMCA_CL +** Description This function converts a pointer to a CCB to a tMCA_CL ** and returns the value. ** ** Returns void. @@ -326,7 +326,7 @@ tMCA_CL mca_ccb_to_hdl(tMCA_CCB *p_ccb) ** ** Function mca_ccb_by_hdl ** -** Description This function converts an index value to a CCB. It returns +** Description This function converts an index value to a CCB. It returns ** a pointer to the CCB. If no valid CCB matches the index it ** returns NULL. ** |