OSDN Git Service

core/service: Fix setting wrong state after calling accept
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 8 Sep 2016 07:52:42 +0000 (10:52 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 8 Sep 2016 08:30:50 +0000 (11:30 +0300)
commitd93af80e37274656bca792a673eb0b66141e62a1
tree2faecd18d2a5577c6bceec5e760d7f748591f68c
parent968fdffb92c2edeac4b124db92c87e5e2bbe2598
core/service: Fix setting wrong state after calling accept

The accept calback may transit the state to connected on the call itself
since most of the time it is just a matter of selecting the attributes
in case of GATT profiles.
src/service.c