Though the function btif_config_set_str requests to
save device name immediately, sometimes it doesn't
call save device name if the cached changes are more.
So calling the "btif_config_save" explicitly to avoid
failure cases.
Change-Id: I9fb05caf284d6a6feb906f87a4db19896182d2c9
BTIF_STORAGE_PATH_REMOTE_NAME, value);
else btif_config_set_str("Local", "Adapter",
BTIF_STORAGE_KEY_ADAPTER_NAME, value);
+ /* save name immediately */
+ btif_config_save();
break;
case BT_PROPERTY_REMOTE_FRIENDLY_NAME:
strncpy(value, (char*)prop->val, prop->len);