sim: Reset mnc_length when removing SIM

In case the next SIM doesn't have it or something else weird happens.
This commit is contained in:
Denis Kenzior 2010-08-23 13:20:54 -05:00
parent f78eaf94cf
commit cbf783c334
1 changed files with 2 additions and 0 deletions

View File

@ -2013,6 +2013,8 @@ static void sim_free_state(struct ofono_sim *sim)
sim->efest = NULL;
sim->efest_length = 0;
}
sim->mnc_length = 0;
}
void ofono_sim_inserted_notify(struct ofono_sim *sim, ofono_bool_t inserted)