From f9a0014f94600966dc75e185a4c67fd424e0e24b Mon Sep 17 00:00:00 2001 From: Mallikarjuna GB Date: Thu, 21 May 2015 19:17:06 +0530 Subject: [PATCH] Updated ATD string parsing This change makes sure that the Dial string parsing accepts 'pause' and 'wait' characters too. Change-Id: Ie56b355199a3d4292d0ee9913852292147ccf55f --- bta/sys/utl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bta/sys/utl.c b/bta/sys/utl.c index c2b0b4ce5..064992492 100644 --- a/bta/sys/utl.c +++ b/bta/sys/utl.c @@ -287,7 +287,9 @@ BOOLEAN utl_isdialstr(const char *p_s) { if(!(((p_s[i] >= '0') && (p_s[i] <= '9')) || (p_s[i] == '*') || (p_s[i] == '+') || (p_s[i] == '#') || (p_s[i] == ';') - || ((p_s[i] >= 'A') && (p_s[i] <= 'C')))) + || ((p_s[i] >= 'A') && (p_s[i] <= 'C')) + || ((p_s[i] == 'p') || (p_s[i] == 'P') + || (p_s[i] == 'w') || (p_s[i] == 'W')))) return FALSE; } -- 2.11.0