diff options
author | Ben Chan <benchan@chromium.org> | 2014-05-31 18:03:30 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-06-02 08:55:08 +0200 |
commit | 4213d2fe69ed66b2541f8245ad4e2f2d1a3ea61f (patch) | |
tree | 1632c478ce601534d289c6cf93719f250be16465 /src/mm-plugin-manager.c | |
parent | cdb334649dcf317672b50943466ba9296e41924b (diff) |
broadband-modem: report an error when enabling a modem in FAILED state
If the initialization of the Modem3gpp / ModemCdma interface fails, the
modem transitions to the FAILED state. But since the Modem interface is
already initialized and exported over DBus, it is possible to invoke the
Enable method on the Modem interface. This patch changes
MMBroadbandModem to report an error if one tries to enable the modem in
the FAILED state instead of raising an assertion.
Diffstat (limited to 'src/mm-plugin-manager.c')
0 files changed, 0 insertions, 0 deletions