From: Adam Hampson Date: Wed, 28 May 2014 16:31:59 +0000 (-0700) Subject: Initialize the DIS client before requesting DIS UUIDs from peer X-Git-Tag: android-x86-7.1-r1~1755^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0454bb7bb51f578dfffc618c47e586fc74a0d6b0;p=android-x86%2Fsystem-bt.git Initialize the DIS client before requesting DIS UUIDs from peer Bug: 15308663 Change-Id: I586c486f838e1742db1785e79ca1451b33b21367 Signed-off-by: Adam Hampson --- diff --git a/stack/srvc/srvc_dis.c b/stack/srvc/srvc_dis.c index 7c4df0d83..73be84b57 100644 --- a/stack/srvc/srvc_dis.c +++ b/stack/srvc/srvc_dis.c @@ -427,6 +427,9 @@ BOOLEAN DIS_ReadDISInfo(BD_ADDR peer_bda, tDIS_READ_CBACK *p_cback) { UINT16 conn_id; + /* Initialize the DIS client if it hasn't been initialized already. */ + srvc_eng_init(); + /* For now we only handle one at a time */ if (dis_cb.dis_read_uuid_idx != 0xff) return(FALSE);