Skip to content
Snippets Groups Projects
Commit dd62d8e4 authored by Srinu Jella's avatar Srinu Jella Committed by Andre Eisenbach
Browse files

Update UUIDs immediately on NVRAM

As the BTIF config updation have delay in writing items
to the NVRAM, some times there is a chance of not updating
incase of battery removal happens before the actual write onto
NVRAM.

As SDP UUIDs is important data to store, it will update
immediately onto NVRAM.

Test: manual

Change-Id: I6637dc326f3a53211a5bbf988a2dca1020203128
parent 1bbba112
No related branches found
No related tags found
No related merge requests found
......@@ -260,7 +260,7 @@ static int prop2cfg(bt_bdaddr_t* remote_bd_addr, bt_property_t* prop) {
/* save changes if the device was bonded */
if (btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) {
btif_config_save();
btif_config_flush();
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment