Merge pull request #11717 from iliapenev/master

Fix Quectel M26 context hang
pull/11677/head
Martin Kojtal 2019-10-21 11:54:50 +02:00 committed by GitHub
commit 95343276a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;