store validated service record handle in service item

This commit is contained in:
matthias.ringwald 2011-08-20 21:08:40 +00:00
parent eda18bf8f7
commit a982c048da

View File

@ -155,6 +155,7 @@ uint32_t sdp_register_service_internal(void *connection, service_record_item_t *
if (!record_handle){
record_handle = sdp_create_service_record_handle();
// Write the handle back into the record too
record_item->service_record_handle = record_handle;
sdp_set_attribute_value_for_attribute_id(record, SDP_ServiceRecordHandle, record_handle);
}