File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/bt/host/bluedroid/stack/btm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -612,12 +612,12 @@ static tBTM_STATUS btm_send_connect_request(UINT16 acl_handle,
612612 ** If so, we cannot use SCO-only packet types (HFP 1.7)
613613 */
614614 if (BTM_BothEndsSupportSecureConnections (p_acl -> remote_addr )) {
615- temp_pkt_types &= ~(BTM_SCO_PKT_TYPE_MASK );
615+ temp_pkt_types &= ~(BTM_SCO_LINK_ONLY_MASK );
616616 BTM_TRACE_DEBUG ("%s: SCO Conn: pkt_types after removing SCO (0x%04x)" , __FUNCTION__ ,
617617 temp_pkt_types );
618618
619619 /* Return error if no packet types left */
620- if (temp_pkt_types == 0 ) {
620+ if (temp_pkt_types == BTM_SCO_EXCEPTION_PKTS_MASK ) {
621621 BTM_TRACE_ERROR ("%s: SCO Conn (BR/EDR SC): No packet types available" ,__FUNCTION__ );
622622 return (BTM_WRONG_MODE );
623623 }
You can’t perform that action at this time.
0 commit comments