aboutsummaryrefslogtreecommitdiff
path: root/audio/headset.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-05-13 18:04:38 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2009-05-13 18:04:38 +0300
commitd7d7c1ec46c07b6c543474cab76873af224387d4 (patch)
treea2a996d39992578537b51f4839f0c39a7f04b882 /audio/headset.c
parent5a2c498a85c277bcce0fdaadb66129e8a94c25e5 (diff)
downloadbluez-d7d7c1ec46c07b6c543474cab76873af224387d4.tar.gz
Fix phone number quoting for CLCC
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 8ab63ec5..d2735a64 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -2731,9 +2731,8 @@ int telephony_list_current_call_ind(int idx, int dir, int status, int mode,
if (number)
send_foreach_headset(active_devices, hfp_cmp,
- "\r\n+CLCC: %d,%d,%d,%d,%d,%s,%d\r\n",
- idx, dir, status, mode, mprty,
- number, type);
+ "\r\n+CLCC: %d,%d,%d,%d,%d,\"%s\",%d\r\n",
+ idx, dir, status, mode, mprty, number, type);
else
send_foreach_headset(active_devices, hfp_cmp,
"\r\n+CLCC: %d,%d,%d,%d,%d\r\n",