https://bugzilla.novell.com/show_bug.cgi?id=674331
https://bugzilla.novell.com/show_bug.cgi?id=674331#c2
--- Comment #2 from Li Bin 2011-04-27 16:01:14 UTC ---
commit a00966d4aa0973aef9a520b966d6c5a93d094053
Author: Dan Williams
Date: Mon Nov 29 11:50:55 2010 -0600
huawei: don't spam syslog with tx/rx stats (lp:673457)
diff --git a/plugins/mm-modem-huawei-gsm.c b/plugins/mm-modem-huawei-gsm.c
index 545d083..cde4b4a 100644
--- a/plugins/mm-modem-huawei-gsm.c
I backport a patch from the upstream.
+++ b/plugins/mm-modem-huawei-gsm.c
@@ -29,6 +29,7 @@
#include "mm-callback-info.h"
#include "mm-at-serial-port.h"
#include "mm-serial-parsers.h"
+#include "mm-options.h"
static void modem_init (MMModem *modem_class);
static void modem_gsm_network_init (MMModemGsmNetwork *gsm_network_class);
@@ -673,8 +674,10 @@ handle_status_change (MMAtSerialPort *port,
str = g_match_info_fetch (match_info, 1);
if (sscanf (str, "%x,%x,%x,%x,%x,%x,%x", &n1, &n2, &n3, &n4, &n5, &n6,
&n7)) {
- g_debug ("Duration: %d Up: %d Kbps Down: %d Kbps Total: %d Total:
%d\n",
- n1, n2 * 8 / 1000, n3 * 8 / 1000, n4 / 1024, n5 / 1024);
+ if (mm_options_debug ()) {
+ g_debug ("Duration: %d Up: %d Kbps Down: %d Kbps Total: %d Total:
%d\n",
+ n1, n2 * 8 / 1000, n3 * 8 / 1000, n4 / 1024, n5 / 1024);
+ }
}
g_free (str);
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.