From ba310d7f90c50e0acfc3dfe66d10598eb69b2fd9 Mon Sep 17 00:00:00 2001 From: Lukasz Rymanowski Date: Fri, 15 Nov 2013 19:04:01 +0100 Subject: [PATCH] android: Change TODO with explaining comment --- android/bluetooth.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/android/bluetooth.c b/android/bluetooth.c index 4e581e74f..83f20e2e1 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -645,7 +645,10 @@ static void send_ssp_request(const bdaddr_t *addr, uint8_t variant, { struct hal_ev_ssp_request ev; - /* TODO name and CoD of remote devices should probably be cached */ + /* It is ok to have empty name and CoD of remote devices here since + * those information has been already provided on device_connected event + * or during device scaning. Android will use that instead. + */ memset(&ev, 0, sizeof(ev)); bdaddr2android(addr, ev.bdaddr); ev.pairing_variant = variant; -- 2.47.3