fix de_get_uuid32

This commit is contained in:
matthias.ringwald 2014-12-22 16:51:44 +00:00
parent 44a024d4f1
commit 919da6fe50

View File

@ -155,7 +155,7 @@ uint32_t de_get_uuid32(uint8_t * element){
if (!validUuid128) return 0; if (!validUuid128) return 0;
int hasBlueoothBaseUuid = sdp_has_blueooth_base_uuid(uuid128); int hasBlueoothBaseUuid = sdp_has_blueooth_base_uuid(uuid128);
if (!hasBlueoothBaseUuid) return 0; if (!hasBlueoothBaseUuid) return 0;
return READ_NET_32(element, 0); return READ_NET_32(uuid128, 0);
} }
// functions to create record // functions to create record