[-]
[+]
|
Changed |
_service:tar_git:ofono.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:ofono.spec
^
|
|
[-]
[+]
|
Changed |
_service:tar_git:ofono-1.67.1.tar.bz2/ofono/drivers/ril/ril_plugin.c
^
|
@@ -1059,6 +1059,7 @@
slot->imeisv, ril_plugin_sim_state(slot),
slot->slot_flags);
sailfish_manager_set_cell_info(slot->handle, slot->cell_info);
+ grilio_channel_set_enabled(slot->io, slot->handle->enabled);
/* Check if this was the last slot we were waiting for */
ril_plugin_check_if_started(plugin);
@@ -2136,7 +2137,9 @@
{
if (s->handle->enabled) {
ril_plugin_check_modem(s);
+ grilio_channel_set_enabled(s->io, TRUE);
} else {
+ grilio_channel_set_enabled(s->io, FALSE);
ril_plugin_shutdown_slot(s, FALSE);
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:ofono-1.67.1.tar.bz2/ofono/drivers/ril/ril_radio.c
^
|
@@ -1,7 +1,7 @@
/*
* oFono - Open Source Telephony - RIL-based devices
*
- * Copyright (C) 2015-2017 Jolla Ltd.
+ * Copyright (C) 2015-2019 Jolla Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -411,6 +411,11 @@
priv->state_event_id = grilio_channel_add_unsol_event_handler(priv->io,
ril_radio_state_changed,
RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED, self);
+ /*
+ * Some RILs like to receive power off request at startup even if
+ * radio is already off. Make those happy.
+ */
+ ril_radio_submit_power_request(self, FALSE);
return self;
}
|