summaryrefslogtreecommitdiff
path: root/android/hidhost.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2015-03-05 12:43:03 +0100
committerSzymon Janc <szymon.janc@tieto.com>2015-03-05 16:58:49 +0100
commitfb865d80db38bdb9ac044c863ca8695c5be86bad (patch)
tree7739d183209b055bbfe030835a186a5ebe2cbd0a /android/hidhost.c
parent0f40779ee29133a35f9d9f420bd1cdda426787f6 (diff)
downloadbluez-fb865d80db38bdb9ac044c863ca8695c5be86bad.tar.gz
android/bluetooth: Remove address type from BT callbacks
GATT code should always use bt_get_id_addr() when directly dealing with remote address. This is to make sure that proper address and type is used.
Diffstat (limited to 'android/hidhost.c')
-rw-r--r--android/hidhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/hidhost.c b/android/hidhost.c
index b696563ed..2e589f4ca 100644
--- a/android/hidhost.c
+++ b/android/hidhost.c
@@ -1495,7 +1495,7 @@ static void connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
}
}
-static void hid_unpaired_cb(const bdaddr_t *addr, uint8_t type)
+static void hid_unpaired_cb(const bdaddr_t *addr)
{
GSList *l;
struct hid_device *dev;