summaryrefslogtreecommitdiffstats
path: root/bta/ag/bta_ag_at.c
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-09-18 16:14:30 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-18 16:14:30 -0700
commitad2d45b15aae80ba254277c3d1fa036207d8b926 (patch)
tree27ebefd16a44995abb1b16e5c279a1bd169cf0f5 /bta/ag/bta_ag_at.c
parentcc914cffd521b2e6e1be804c82aea2388b843ebf (diff)
downloadexternal_bluetooth_bluedroid-ad2d45b15aae80ba254277c3d1fa036207d8b926.zip
external_bluetooth_bluedroid-ad2d45b15aae80ba254277c3d1fa036207d8b926.tar.gz
external_bluetooth_bluedroid-ad2d45b15aae80ba254277c3d1fa036207d8b926.tar.bz2
Revert "Header file and whitespace cleanups"
This reverts commit cc914cffd521b2e6e1be804c82aea2388b843ebf More changes in the original CL after my cherry-pick. Change-Id: Ic144dba96aeb8a60611baac7565c9f628ab8f9eb
Diffstat (limited to 'bta/ag/bta_ag_at.c')
-rw-r--r--bta/ag/bta_ag_at.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bta/ag/bta_ag_at.c b/bta/ag/bta_ag_at.c
index 21609df..4d3bcac 100644
--- a/bta/ag/bta_ag_at.c
+++ b/bta/ag/bta_ag_at.c
@@ -23,7 +23,7 @@
** Function bta_ag_at_init
**
** Description Initialize the AT command parser control block.
-**
+**
**
** Returns void
**
@@ -41,7 +41,7 @@ void bta_ag_at_init(tBTA_AG_AT_CB *p_cb)
** Description Re-initialize the AT command parser control block. This
** function resets the AT command parser state and frees
** any GKI buffer.
-**
+**
**
** Returns void
**
@@ -62,7 +62,7 @@ void bta_ag_at_reinit(tBTA_AG_AT_CB *p_cb)
** Description Parse AT commands. This function will take the input
** character string and parse it for AT commands according to
** the AT command table passed in the control block.
-**
+**
**
** Returns void
**
@@ -138,7 +138,7 @@ void bta_ag_process_at(tBTA_AG_AT_CB *p_cb)
}
else
{
-
+
(*p_cb->p_cmd_cback)(p_cb->p_user, idx, arg_type, p_arg, int_arg);
}
}
@@ -167,7 +167,7 @@ void bta_ag_process_at(tBTA_AG_AT_CB *p_cb)
** Description Parse AT commands. This function will take the input
** character string and parse it for AT commands according to
** the AT command table passed in the control block.
-**
+**
**
** Returns void
**
@@ -193,7 +193,7 @@ void bta_ag_at_parse(tBTA_AG_AT_CB *p_cb, char *p_buf, UINT16 len)
i++;
continue;
}
-
+
p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++];
if ( p_cb->p_cmd_buf[p_cb->cmd_pos] == '\r' || p_cb->p_cmd_buf[p_cb->cmd_pos] == '\n')
{
@@ -209,8 +209,8 @@ void bta_ag_at_parse(tBTA_AG_AT_CB *p_cb, char *p_buf, UINT16 len)
}
p_cb->cmd_pos = 0;
-
- }
+
+ }
else if( p_cb->p_cmd_buf[p_cb->cmd_pos] == 0x1A || p_cb->p_cmd_buf[p_cb->cmd_pos] == 0x1B )
{
p_cb->p_cmd_buf[++p_cb->cmd_pos] = 0;