From 7fc008ec54513ec4c880f2a631bb4ac82950e985 Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Fri, 28 Sep 2012 12:47:04 +0300 Subject: [PATCH] proximity: Change Monitor drivers function prefix to monitor_ --- profiles/proximity/manager.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/profiles/proximity/manager.c b/profiles/proximity/manager.c index 8b991a84d..58e519312 100644 --- a/profiles/proximity/manager.c +++ b/profiles/proximity/manager.c @@ -56,8 +56,8 @@ static gint primary_uuid_cmp(gconstpointer a, gconstpointer b) return g_strcmp0(prim->uuid, uuid); } -static int attio_device_probe(struct btd_profile *p, struct btd_device *device, - GSList *uuids) +static int monitor_device_probe(struct btd_profile *p, + struct btd_device *device, GSList *uuids) { struct gatt_primary *linkloss, *txpower, *immediate; GSList *l, *primaries; @@ -77,7 +77,7 @@ static int attio_device_probe(struct btd_profile *p, struct btd_device *device, return monitor_register(device, linkloss, txpower, immediate, &enabled); } -static void attio_device_remove(struct btd_profile *p, +static void monitor_device_remove(struct btd_profile *p, struct btd_device *device) { monitor_unregister(device); @@ -87,8 +87,8 @@ static struct btd_profile pxp_monitor_profile = { .name = "Proximity Monitor GATT Driver", .remote_uuids = BTD_UUIDS(IMMEDIATE_ALERT_UUID, LINK_LOSS_UUID, TX_POWER_UUID), - .device_probe = attio_device_probe, - .device_remove = attio_device_remove, + .device_probe = monitor_device_probe, + .device_remove = monitor_device_remove, }; static struct btd_profile pxp_reporter_profile = { -- 2.47.3