OSDN Git Service

Update GATT channel state to closing during disconnection
authorNitin Arora <niarora@codeaurora.org>
Thu, 14 May 2015 01:39:50 +0000 (18:39 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 14 Oct 2016 20:13:04 +0000 (20:13 +0000)
commitce1f3407a45490a15ce447508abf5ff7757fb51c
treef5cd04233482cf371511cee9c71a5df284f8332c
parenta6a2ece5fd6ca14c41717e6f9de28e19ca4baec6
Update GATT channel state to closing during disconnection

This change ensures that the GATT channel state is
moved to CLOSING state while GATT disconnect is
requested by the host, specifically when the GATT
state is OPEN.
This is needed to prevent any furthur GATT operations,
once GATT disconnect is issued.

Change-Id: I8511caa477881de4f4eaf18b84f23530e1958fe9
stack/gatt/gatt_main.c