mirror of git://git.sysmocom.de/ofono
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:
parent
d8edd49535
commit
8e6ebab83b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue