diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-12-29 17:59:44 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-12-30 13:05:40 +0200 |
commit | 3b2985bab4b91f4097dd4017f2398e92c4964f01 (patch) | |
tree | 16828398821b783b317aa6b0a5fbe0ea214f1800 /plugins/wiimote.c | |
parent | 3a870b6a9ac0038ec49eb775f2ef1083de035a58 (diff) | |
download | bluez-3b2985bab4b91f4097dd4017f2398e92c4964f01.tar.gz |
wiimote: Fix device_get_address to use new API
Commit b06899eace1f484b387aae0e568fb1da988b468c introduced a new API for
device_get_address but apparently missed fixing the call in
plugins/wiimote.c. This patch converts the plugin to use the new API.
Diffstat (limited to 'plugins/wiimote.c')
-rw-r--r-- | plugins/wiimote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wiimote.c b/plugins/wiimote.c index fead72a93..1ae638bf3 100644 --- a/plugins/wiimote.c +++ b/plugins/wiimote.c @@ -63,7 +63,7 @@ static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device, char addr[18]; adapter_get_address(adapter, &sba); - device_get_address(device, &dba); + device_get_address(device, &dba, NULL); ba2str(&dba, addr); vendor = btd_device_get_vendor(device); |