mirror of git://git.sysmocom.de/ofono
Fix: Minor style issues
This commit is contained in:
parent
c63b2c9d44
commit
228e1e735c
|
@ -1878,9 +1878,9 @@ void ofono_sim_inserted_notify(struct ofono_sim *sim, ofono_bool_t inserted)
|
|||
ofono_sim_state_event_notify_cb_t notify;
|
||||
GSList *l;
|
||||
|
||||
if (inserted && sim->state == OFONO_SIM_STATE_NOT_PRESENT)
|
||||
if (inserted == TRUE && sim->state == OFONO_SIM_STATE_NOT_PRESENT)
|
||||
sim->state = OFONO_SIM_STATE_INSERTED;
|
||||
else if (!inserted && sim->state != OFONO_SIM_STATE_NOT_PRESENT)
|
||||
else if (inserted == FALSE && sim->state != OFONO_SIM_STATE_NOT_PRESENT)
|
||||
sim->state = OFONO_SIM_STATE_NOT_PRESENT;
|
||||
else
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue