Fix: Reset netreg to 0 when unregistered

This commit is contained in:
Denis Kenzior 2009-10-26 16:18:17 -05:00
parent 939be2adc2
commit 6f9b5be3d5
1 changed files with 1 additions and 0 deletions

View File

@ -771,6 +771,7 @@ static void netreg_watch(struct ofono_atom *atom,
if (cond == OFONO_ATOM_WATCH_CONDITION_UNREGISTERED) {
cbs->location_watch = 0;
cbs->netreg = 0;
return;
}