iface-modem: Allow SetPowerState(Low|On) on failed state

In some modems, the modem's radio can be ON when no SIM card is present.
In this case, the modem is in failed state, and the host cannot set the
power state to LOW. Since we we will allow the host to set the power to
LOW, we should allow it to set it back to ON.

(cherry picked from commit 43e76bf1bbca8207e37d3fbddfed4bb8578f0170)

BUG=b:192634026
TEST=Test on sasuke nl668.

Change-Id: I1edae23831c52ed47774ba053ee4edb056d0e1fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/3218949
Tested-by: Andrew Lassalle <andrewlassalle@chromium.org>
Auto-Submit: Andrew Lassalle <andrewlassalle@chromium.org>
Reviewed-by: Madhav . <madhavadas@google.com>
Commit-Queue: Andrew Lassalle <andrewlassalle@chromium.org>
(cherry picked from commit b45ba3b2c7a9e6a56cdbbd9824cc525b93a4537b)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/modemmanager-next/+/3237327
Reviewed-by: Andrew Lassalle <andrewlassalle@chromium.org>
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
Commit-Queue: Shou-Chieh Hsu <shouchieh@chromium.org>
Tested-by: Shou-Chieh Hsu <shouchieh@chromium.org>
1 file changed