fix(bt): Fix incorrect type returned when searching SAP record

This commit is contained in:
xiongweichao
2025-01-09 11:53:34 +08:00
parent b8a4d9f74f
commit 26491fbe67

View File

@@ -344,7 +344,7 @@ static void bta_create_sap_sdp_record(bluetooth_sdp_record *record, tSDP_DISC_RE
tSDP_PROTOCOL_ELEM pe;
UINT16 pversion = -1;
record->sap.hdr.type = SDP_TYPE_MAP_MAS;
record->sap.hdr.type = SDP_TYPE_SAP_SERVER;
record->sap.hdr.service_name_length = 0;
record->sap.hdr.service_name = NULL;
record->sap.hdr.rfcomm_channel_number = 0;