Cellular: Fix CellularDevice mutex unlock

pull/9705/head
Ari Parkkila 2019-02-17 23:53:53 -08:00
parent 50a276ead8
commit cdc28b5baf
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}