Skip to content

Commit cdc28b5

Browse files
author
Ari Parkkila
committed
Cellular: Fix CellularDevice mutex unlock
1 parent 50a276e commit cdc28b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/cellular/framework/device/CellularDevice.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ nsapi_error_t CellularDevice::start_state_machine(CellularStateMachine::Cellular
129129
_mutex.lock();
130130
nsapi_error_t err = create_state_machine();
131131
if (err) {
132+
_mutex.unlock();
132133
return err;
133134
}
134135

0 commit comments

Comments
 (0)