From 58fe3bf29b562bdddb6e85f3569c0ae932abb7c4 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Wed, 21 Jan 2009 15:45:53 +0100 Subject: [PATCH] bring back closing the devices, otherwise the modem stays on --- src/gsm0710muxd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gsm0710muxd.c b/src/gsm0710muxd.c index ecbf608..f6aa2e0 100644 --- a/src/gsm0710muxd.c +++ b/src/gsm0710muxd.c @@ -2020,8 +2020,7 @@ int main( g_main_loop_run(main_loop); // will/may be terminated in signal_treatment g_main_loop_unref(main_loop); //finalize everything -// Don't bother with closing devices, mainloop is not running anymore -// SYSCHECK(close_devices()); + SYSCHECK(close_devices()); free(serial.adv_frame_buf); gsm0710_buffer_destroy(serial.in_buf); LOG(LOG_INFO, "Received %ld frames and dropped %ld received frames during the mux-mode", -- 2.39.5