Diff between 813b674bce1aab009e7f2d14d1825f603330563d and 4c71137c38d278ad02633e8a4470be4dd2360768

Changed Files

File Additions Deletions Status
profiles/proximity/manager.c +2 -2 modified
profiles/proximity/reporter.c +2 -2 modified
profiles/proximity/reporter.h +2 -2 modified

Full Patch

diff --git a/profiles/proximity/manager.c b/profiles/proximity/manager.c
index 6368221..fddb629 100644
--- a/profiles/proximity/manager.c
+++ b/profiles/proximity/manager.c
@@ -93,8 +93,8 @@ static struct btd_profile pxp_profile = {
 	.device_probe	= attio_device_probe,
 	.device_remove	= attio_device_remove,
 
-	.adapter_probe	= reporter_init,
-	.adapter_remove	= reporter_exit,
+	.adapter_probe	= reporter_adapter_probe,
+	.adapter_remove	= reporter_adapter_remove,
 };
 
 static void load_config_file(GKeyFile *config)
diff --git a/profiles/proximity/reporter.c b/profiles/proximity/reporter.c
index d2eb194..59af308 100644
--- a/profiles/proximity/reporter.c
+++ b/profiles/proximity/reporter.c
@@ -251,7 +251,7 @@ void reporter_device_remove(struct btd_device *device)
 	unregister_reporter_device(device, radapter);
 }
 
-int reporter_init(struct btd_adapter *adapter)
+int reporter_adapter_probe(struct btd_adapter *adapter)
 {
 	struct reporter_adapter *radapter;
 	DBusConnection *conn;
@@ -279,7 +279,7 @@ int reporter_init(struct btd_adapter *adapter)
 	return 0;
 }
 
-void reporter_exit(struct btd_adapter *adapter)
+void reporter_adapter_remove(struct btd_adapter *adapter)
 {
 	struct reporter_adapter *radapter = find_reporter_adapter(adapter);
 	if (!radapter)
diff --git a/profiles/proximity/reporter.h b/profiles/proximity/reporter.h
index 4f3bee2..d038c0e 100644
--- a/profiles/proximity/reporter.h
+++ b/profiles/proximity/reporter.h
@@ -39,7 +39,7 @@ enum {
 void reporter_device_remove(struct btd_device *device);
 int reporter_device_probe(struct btd_device *device);
 
-int reporter_init(struct btd_adapter *adapter);
-void reporter_exit(struct btd_adapter *adapter);
+int reporter_adapter_probe(struct btd_adapter *adapter);
+void reporter_adapter_remove(struct btd_adapter *adapter);
 
 const char *get_alert_level_string(uint8_t level);