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().
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user