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 */
|
||||
--connectionCount;
|
||||
state.connected = false;
|
||||
|
||||
DisconnectionCallbackParams_t callbackParams(handle, reason);
|
||||
disconnectionCallChain.call(&callbackParams);
|
||||
|
|
Loading…
Reference in New Issue