OSDN Git Service

GAP: Return BTM_CMD_STARTED from btm_sec_l2cap_access_req
authorHemant Gupta <hemantg@codeaurora.org>
Thu, 19 Dec 2013 15:07:16 +0000 (20:37 +0530)
committerZhihai Xu <zhihaixu@google.com>
Mon, 5 May 2014 18:18:22 +0000 (18:18 +0000)
commitca7f48cd6e94d29150d7d7a2d7918f9b50b99b7e
treef3c39b46d11976a0cb8e3eba4d88433cca9e9000
parent4974d81a88dd7ffa1951242dfc830d329f3cf378
GAP: Return BTM_CMD_STARTED from btm_sec_l2cap_access_req

Return BTM_CMD_STARTED from btm_sec_l2cap_access_req when
remote device link is neither authenticated or encrypted so as
to send L2CAP Peer connect response with status auth pending.
This lets remote device extend the waiting time. This fixes IOT
issues with HP laptop EliteBook 8440p/8460p where pairing was
not possible.

Change-Id: I6cf6a72640de938a8145b541d4bad1bcba758ac5
stack/btm/btm_sec.c