summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-09-12 21:46:10 +0530
committerAlok Barsode <alok.barsode@azingo.com>2008-09-12 21:46:10 +0530
commit7d93ead47f6b203feca6bfee78c4494b285539d2 (patch)
treea569d4ee0a2b446b87d6fd62ae096480f94eb677
parent57fd23d256a6a8994dbf76cdf5072e817a7b5571 (diff)
Renaming device_read_bdaddr to adapter_read_bdaddr.
-rw-r--r--src/adapter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 301fb363..dec30fc0 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2025,7 +2025,7 @@ static inline uint8_t get_inquiry_mode(struct hci_dev *dev)
return 0;
}
-static int device_read_bdaddr(uint16_t dev_id, bdaddr_t *bdaddr)
+static int adapter_read_bdaddr(uint16_t dev_id, bdaddr_t *bdaddr)
{
int dd, err;
@@ -2344,7 +2344,7 @@ int adapter_start(struct btd_adapter *adapter)
debug("Adapter %s without an address", adapter->path);
- err = device_read_bdaddr(adapter->dev_id, &di.bdaddr);
+ err = adapter_read_bdaddr(adapter->dev_id, &di.bdaddr);
if (err < 0)
return err;
}