OSDN Git Service

GAP: Host sending two sdp req during legacy pairing
authorVenkata Jagadeesh Garaga <vgaraga@codeaurora.org>
Mon, 12 Sep 2016 13:24:42 +0000 (18:54 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 23 Sep 2016 08:48:54 +0000 (01:48 -0700)
commit843a319449191282657cb3b7a2d471a8eb61f08d
tree403bc9f43b9697a0a7377d98a131db066fb9ae11
parent12b8e575b7bf3f080b5c91720635cb86496ab2d9
GAP: Host sending two sdp req during legacy pairing

Host sends sdp req from l2cap closed state without
info res from remote,and one more sdp req triggered
after info rsp from remote.
Hence host went to bad state and not responding to
sdp response from remote

Don't allow sdp req without info rsp from l2cap
closed state to fix this issue

Change-Id: Ie5b8b89b5d499e999167ad599fa587cea5dde2e7
CRs-Fixed: 1070444
stack/l2cap/l2c_csm.c