Skip to content

Commit 9534327

Browse files
authored
Merge pull request #11717 from iliapenev/master
Fix Quectel M26 context hang
2 parents cd415cf + ad1387b commit 9534327

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/cellular/framework/targets/QUECTEL/M26/QUECTEL_M26.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ nsapi_error_t QUECTEL_M26::get_sim_state(SimState &state)
5454
_at->lock();
5555
nsapi_error_t err = _at->at_cmd_str("+CPIN", "?", buf, 13);
5656
tr_debug("CPIN: %s", buf);
57+
_at->unlock();
5758

5859
if (memcmp(buf, "READY", 5) == 0) {
5960
state = SimStateReady;

0 commit comments

Comments
 (0)