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
This commit is contained in:
Kuba Pawlak 2015-03-24 15:20:40 +01:00 committed by Denis Kenzior
parent d8edd49535
commit 8e6ebab83b
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}