From: Vinicius Costa Gomes <[email protected]>

As we will need to also keep track of the Local address, we rename the
modem property to Remote, to keep names more consistent.
---
 plugins/hfp_hf_bluez5.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index aba62e2..c4a3f32 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);
 
-- 
1.7.11.7

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to