updated on Tue Jan 24 08:00:27 UTC 2012
[aur-mirror.git] / bluez-git-wiimote / 0001-Fix-wiimote-device_get_address-to-use-new-API.patch
blob6e1ef18e0f4ec1561c831806120cb1fa2257cd7c
1 From 6bf559eba2b7ad99964f14631a2275969720789b Mon Sep 17 00:00:00 2001
2 From: David Herrmann <dh.herrmann@googlemail.com>
3 Date: Thu, 29 Dec 2011 17:54:11 +0100
4 Subject: [PATCH 1/2] Fix wiimote device_get_address to use new API
6 Commit b06899eace1f484b387aae0e568fb1da988b468c introduced a new API for
7 device_get_name but apparently missed fixing the call in plugins/wiimote.c. This
8 patch converts the plugin to use the new API.
9 ---
10 plugins/wiimote.c | 2 +-
11 1 files changed, 1 insertions(+), 1 deletions(-)
13 diff --git a/plugins/wiimote.c b/plugins/wiimote.c
14 index fead72a..1ae638b 100644
15 --- a/plugins/wiimote.c
16 +++ b/plugins/wiimote.c
17 @@ -63,7 +63,7 @@ static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device,
18 char addr[18];
20 adapter_get_address(adapter, &sba);
21 - device_get_address(device, &dba);
22 + device_get_address(device, &dba, NULL);
23 ba2str(&dba, addr);
25 vendor = btd_device_get_vendor(device);
26 --
27 1.7.8.1