mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avrcp: trigger signaling connect on sdp query complete
This commit is contained in:
parent
f430bcdedf
commit
23ddf1d79f
@ -790,7 +790,7 @@ static void avrcp_signaling_handle_sdp_query_complete(avrcp_connection_t * conne
|
|||||||
btstack_assert(false);
|
btstack_assert(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (connection_with_opposite_role->state == AVCTP_CONNECTION_W4_L2CAP_CONNECTED){
|
if (connection_with_opposite_role->state == AVCTP_CONNECTION_W2_L2CAP_CONNECT){
|
||||||
connection->state = AVCTP_CONNECTION_W4_L2CAP_CONNECTED;
|
connection->state = AVCTP_CONNECTION_W4_L2CAP_CONNECTED;
|
||||||
connection_with_opposite_role->state = AVCTP_CONNECTION_W4_L2CAP_CONNECTED;
|
connection_with_opposite_role->state = AVCTP_CONNECTION_W4_L2CAP_CONNECTED;
|
||||||
l2cap_create_channel(&avrcp_packet_handler, connection->remote_addr, connection->avrcp_l2cap_psm, l2cap_max_mtu(), NULL);
|
l2cap_create_channel(&avrcp_packet_handler, connection->remote_addr, connection->avrcp_l2cap_psm, l2cap_max_mtu(), NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user