Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
ModemManager
mm-dismiss-spam-log.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mm-dismiss-spam-log.patch of Package ModemManager
Index: ModemManager-0.4/plugins/mm-modem-huawei-gsm.c =================================================================== --- ModemManager-0.4.orig/plugins/mm-modem-huawei-gsm.c +++ ModemManager-0.4/plugins/mm-modem-huawei-gsm.c @@ -27,6 +27,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); @@ -530,8 +531,10 @@ handle_status_change (MMAtSerialPort *po 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); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor