summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKuba Pawlak <kubax.t.pawlak@intel.com>2015-03-24 15:20:40 +0100
committerDenis Kenzior <denkenz@gmail.com>2015-03-24 09:12:58 -0500
commit8e6ebab83bce8b79f4e4c579b5c5278458576df3 (patch)
treeaa8b2f155f84558dcabaa1fb938e6efa59ba864d /plugins
parentd8edd4953542fb5e60f431afeb2e5900c7cbb502 (diff)
downloadofono-8e6ebab83bce8b79f4e4c579b5c5278458576df3.tar.bz2
hfp_ag_bluez5: use none prefix for AT+BCC.
iPhone 5s with iOS8.2 sometimes failes to acknowledge AT+BCC with OK. This means +CIEV events get consumed by this command and call ended notification is not parsed. Nov 30 00:00:19 ofonod[938]: > AT+BCC\r Nov 30 00:00:28 ofonod[938]: < \r\n+CIEV: 2,0\r\n
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_hf_bluez5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index f5c572d2..2bed2a12 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -390,7 +390,8 @@ static void hfp16_card_connect(struct ofono_handsfree_card *card,
info->ag_features & HFP_AG_FEATURE_CODEC_NEGOTIATION) {
struct cb_data *cbd = cb_data_new(cb, data);
- g_at_chat_send(info->chat, "AT+BCC", NULL, bcc_cb, cbd, g_free);
+ g_at_chat_send(info->chat, "AT+BCC", none_prefix, bcc_cb,
+ cbd, g_free);
return;
}