[PATCH] iface-modem: allow setting power state to OFF when modem is in FAILED state

Aleksander Morgado aleksander at aleksander.es
Mon Mar 3 02:18:55 PST 2014

On 03/03/14 09:57, Ben Chan wrote:
>> > Doing this would also allow trying to set ON and LOW power states
>> > while in Failed state. How about also modifying the power setting
>> > logic itself so that only OFF is allowed while in Failed state?
>> >
> handle_set_power_state_auth_ready in mm-iface-modem.c already performs the
> check. Is there other place we should check as well?

Ah true, true, my bad. Pushed then to git master.


More information about the ModemManager-devel mailing list