From 2a8fb41c4c57b24a22f3adaab472b416faae122e Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Mon, 8 Sep 2008 13:39:38 +0530 Subject: Redefining adapter_get_address to take bdaddr_t as parameter. --- src/dbus-hci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/dbus-hci.c') diff --git a/src/dbus-hci.c b/src/dbus-hci.c index b559e148..77f768c1 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -126,7 +126,6 @@ static void pincode_cb(struct agent *agent, DBusError *err, const char *pincode, struct pending_auth_info *auth; const gchar *destination = device_get_address(device); uint16_t dev_id = adapter_get_dev_id(adapter); - const gchar *source = adapter_get_address(adapter); struct bonding_request_info *bonding = adapter_get_bonding_info(adapter); /* No need to reply anything if the authentication already failed */ @@ -140,7 +139,7 @@ static void pincode_cb(struct agent *agent, DBusError *err, const char *pincode, return; } - str2ba(source, &sba); + adapter_get_address(adapter, &sba); str2ba(destination, &dba); auth = adapter_find_auth_request(adapter, &dba); -- cgit