broadband-modem: if failed to initialize an optional interface, shut it down

This commit is contained in:
Aleksander Morgado
2012-03-15 14:14:58 +01:00
parent ffa374c793
commit 64de09f052
+2
View File
@@ -5137,6 +5137,8 @@ initialize_finish (MMBaseModem *self,
\
mm_dbg ("Couldn't initialize interface: '%s'", \
error->message); \
/* Just shutdown the interface */ \
mm_##NAME##_shutdown (TYPE (self)); \
g_error_free (error); \
} else { \
/* bind simple properties */ \