From b6f92d3074e4b030e9f95c399b1af50e881448f5 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Tue, 29 Jan 2013 17:38:37 -0300 Subject: hfp_hf_bluez5: Rename 'Address' to 'Remote' Rename this property to better indicate that it is the remote Address being referred to. --- plugins/hfp_hf_bluez5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index aba62e24..c4a3f32f 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -185,7 +185,7 @@ static struct ofono_modem *modem_register(const char *device, if (modem == NULL) return NULL; - ofono_modem_set_string(modem, "Address", device_address); + ofono_modem_set_string(modem, "Remote", device_address); ofono_modem_set_name(modem, alias); ofono_modem_register(modem); @@ -243,7 +243,7 @@ static int hfp_disable(struct ofono_modem *modem) static void hfp_pre_sim(struct ofono_modem *modem) { struct hfp *hfp = ofono_modem_get_data(modem); - char *address = (char *) ofono_modem_get_string(modem, "Address"); + char *address = (char *) ofono_modem_get_string(modem, "Remote"); DBG("%p", modem); -- cgit v1.2.3