Fix Quectel M26 context hang

pull/11717/head
Ilia Penev 2019-10-21 00:48:22 +03:00
parent 70f3cf89a0
commit ad1387b2fd
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ nsapi_error_t QUECTEL_M26::get_sim_state(SimState &state)
_at->lock();
nsapi_error_t err = _at->at_cmd_str("+CPIN", "?", buf, 13);
tr_debug("CPIN: %s", buf);
_at->unlock();
if (memcmp(buf, "READY", 5) == 0) {
state = SimStateReady;