Return-Path: From: Lukasz Rymanowski To: CC: , Lukasz Rymanowski Subject: [PATCH v5 4/4] android: Change TODO with explaining comment Date: Fri, 15 Nov 2013 19:04:01 +0100 Message-ID: <1384538641-1873-5-git-send-email-lukasz.rymanowski@tieto.com> In-Reply-To: <1384538641-1873-1-git-send-email-lukasz.rymanowski@tieto.com> References: <1384538641-1873-1-git-send-email-lukasz.rymanowski@tieto.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --- android/bluetooth.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/android/bluetooth.c b/android/bluetooth.c index 37ac7b1..095f44a 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; -- 1.8.4