summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}