mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Fix CellularDevice mutex unlock
parent
50a276ead8
commit
cdc28b5baf
|
|
@ -129,6 +129,7 @@ nsapi_error_t CellularDevice::start_state_machine(CellularStateMachine::Cellular
|
|||
_mutex.lock();
|
||||
nsapi_error_t err = create_state_machine();
|
||||
if (err) {
|
||||
_mutex.unlock();
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue