From 81fdab9c7eb725146a6de14b12cbd3fab2903625 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 12 Feb 2009 16:41:23 -0300 Subject: Fix not handling properly local name changes. Changing adapter name via dbus was emitting PropertyChanged right away. This not only can cause consistency problems but also makes bluetoothd to not emit a PropertyChanged when a third application such as hciconfig changes the adapter name. --- src/adapter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/adapter.h') diff --git a/src/adapter.h b/src/adapter.h index 6c63b7e0..59b00f70 100644 --- a/src/adapter.h +++ b/src/adapter.h @@ -112,6 +112,7 @@ int adapter_remove_found_device(struct btd_adapter *adapter, bdaddr_t *bdaddr); void adapter_update_oor_devices(struct btd_adapter *adapter); void adapter_remove_oor_device(struct btd_adapter *adapter, char *peer_addr); void adapter_mode_changed(struct btd_adapter *adapter, uint8_t scan_mode); +void adapter_name_changed(struct btd_adapter *adapter, const char *name); struct agent *adapter_get_agent(struct btd_adapter *adapter); void adapter_add_connection(struct btd_adapter *adapter, struct btd_device *device, uint16_t handle); -- cgit