diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-28 12:21:48 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:28 +0100 |
commit | b9448b83cb0d5165b3e4002a3c9cea4fa7a153b1 (patch) | |
tree | bb35b81b48af0188de42fedf74a17afb01dc55f8 /src/mm-iface-modem.h | |
parent | d2d9251733cc4c8e6b5c10fd79341c2f0be08726 (diff) |
iface-modem: simplify interface handling
Interfaces won't have a 'status', just initialize(), enable(), disable() and
shutdown().
Also, shutdown() should never fail. We will take care of cancelling any ongoing
operation afterwards, before calling shutdown().
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r-- | src/mm-iface-modem.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h index ee994cd1..b743faa9 100644 --- a/src/mm-iface-modem.h +++ b/src/mm-iface-modem.h @@ -271,8 +271,7 @@ gboolean mm_iface_modem_disable_finish (MMIfaceModem *self, GError **error); /* Shutdown Modem interface */ -gboolean mm_iface_modem_shutdown (MMIfaceModem *self, - GError **error); +void mm_iface_modem_shutdown (MMIfaceModem *self); /* Request unlock recheck. * It will not only return the lock status, but also set the property values |