gprs-provision: Fix crash if no SPN present

wavecom
Oleg Zhurakivskyy 11 years ago committed by Denis Kenzior
parent 6e60296eed
commit 3e0e183d4c
  1. 2
      examples/provision.c

@ -49,7 +49,7 @@ static int example_provision_get_settings(const char *mcc, const char *mnc,
mcc, mnc, spn);
if (strcmp(mcc, "246") != 0 || strcmp(mnc, "81") != 0 ||
strcmp(spn, "oFono") != 0)
g_strcmp0(spn, "oFono") != 0)
return -ENOENT;
ofono_debug("Creating example settings for phonesim");

Loading…
Cancel
Save