Fix: Report the current operator as current

This commit is contained in:
Denis Kenzior 2009-11-18 13:02:02 -06:00
parent d43244477b
commit cbebad0cc7
1 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,8 @@ static void cops_cb(gboolean ok, GAtResult *result, gpointer user_data)
strncpy(op.mnc, nd->mnc, OFONO_MAX_MNC_LENGTH);
op.mnc[OFONO_MAX_MNC_LENGTH] = '\0';
op.status = -1;
/* Set to current */
op.status = 2;
op.tech = tech;
ofono_debug("cops_cb: %s, %s %s %d", name, nd->mcc, nd->mnc, tech);