diff options
-rw-r--r-- | src/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c index 3686614b..5bcff798 100644 --- a/src/network.c +++ b/src/network.c @@ -1269,7 +1269,7 @@ check: * retrieve it. If OPL is not there then PNN[1] will * still be used for the HPLMN and/or EHPLMN, if PNN * is present. */ - if (!sim_eons_pnn_is_empty(netreg->eons)) + if (netreg->eons && !sim_eons_pnn_is_empty(netreg->eons)) ofono_sim_read(modem, SIM_EFOPL_FILEID, sim_opl_read_cb, NULL); } |