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

Ben Chan benchan at chromium.org
Mon Mar 3 00:57:04 PST 2014

> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20140303/0253ae7d/attachment.html>

More information about the ModemManager-devel mailing list