mirror of https://github.com/ARMmbed/mbed-os.git
update state on disconnect fix
parent
1f2ee0d873
commit
ff68c94ec2
|
@ -2328,6 +2328,7 @@ public:
|
||||||
{
|
{
|
||||||
/* Update Gap state */
|
/* Update Gap state */
|
||||||
--connectionCount;
|
--connectionCount;
|
||||||
|
state.connected = false;
|
||||||
|
|
||||||
DisconnectionCallbackParams_t callbackParams(handle, reason);
|
DisconnectionCallbackParams_t callbackParams(handle, reason);
|
||||||
disconnectionCallChain.call(&callbackParams);
|
disconnectionCallChain.call(&callbackParams);
|
||||||
|
|
Loading…
Reference in New Issue