the mainloop is no longer running, second, we're about to tell the
modem to completely turn off.
NOTE: Ideally this would be fixed properly, such as -- first closing
all the channels, _then_ flagging the mainloop to quit. After that,
running some -- modem specific -- power off command. We can't use it
like that on the mc75i.
g_source_remove(serial.g_source);
serial.g_source = -1;
int i;
+// don't bother closing the channels over the MUX protocol, first off,
+// the mainloop is no longer running anyways, second, we're about to
+// shutdown the modem completely in a second.
+#if 0
for (i=1;i<GSM0710_MAX_CHANNELS;i++)
{
//terminate command given. Close channels one by one and finaly close
LOG(LOG_INFO, "Logical channel %d closed", channellist[i].id);
}
}
+#endif
if (serial.fd >= 0)
{
if (cmux_mode)