Simon Schampijer
c309a2bc8a
wifi: fix B/G band adhoc wifi auto channel selection
2010-04-22 17:14:33 -07:00
Dan Williams
6d6f7d3d90
core: ensure errors are dbus-glib accessible (rh #581794 )
...
Errors that can possibly be returned from D-Bus method calls
need to be registered with dbus-glib.
2010-04-22 12:27:31 -07:00
Dan Williams
009336a54c
wifi: robustify supplicant info destruction
...
Zero out the struct so we crash if we ever try to use it after its
been freed.
2010-04-14 15:22:48 -07:00
Dan Williams
5a01a0b39e
wifi: prevent infinite loop when disposing of supplicant proxy (rh #538717 )
...
This has been around a long time, but is very hard to trigger. It appears
to happen mostly if the supplicant segfaults on resume but has been seen
in other cases as well.
For whatever reason, the DBusGProxy's refcount reaches 0 and the proxy gets
disposed of. That in turn disposes of all the pending calls that are
in-progress on the proxy. Since we give the pending calls a closure, that
closure (nm_supplicant_info_destroy) gets called when the pending calls
are destroyed. That closure unrefs the proxy again.
Since DBusGProxy doesn't have any protection in its dispose() handler
against re-entrant disposes (which is arguably a bug of the client)
we end up infinite looping in nm_supplicant_info_destroy().
Fix that by ensuring we return early if we detect that we are already
freeing the NMSupplicantInfo object, and thus don't try to dispose
of the proxy yet again.
2010-04-14 15:16:48 -07:00
Jiří Klimeš
9000c68839
logging: change default level to be true INFO level
...
Using LOGL_INFO | LOGL_WARN | LOGL_ERR as default to log the same values
as though "--log-level=INFO" were specified.
2010-04-12 17:55:44 +02:00
Jiří Klimeš
9b9331f53d
logging: fix log level flag values (LOGL_*)
...
0x00000000 caused that ERR level (nm_log_err()) gets never logged.
2010-04-12 17:48:37 +02:00
Dan Williams
38ef723df3
wifi: fix disabled wifi devices on resume (rh #578141 )
...
RFKILL_TYPE_WLAN is 0, and we while we had allocated the structure
for WIMAX rfkill in the manager's priv->radio_states, we hadn't
filled it in. That meant that priv->radio_states[RFKILL_TYPE_WIMAX].rtype
was 0, and thus various operations thought that wifi devices
were wimax devices, and since WiMAX rfkill is never updated because
it's not yet used, wifi would never be enabled after resume.
2010-04-08 18:23:43 -07:00
Dan Williams
c57c40a621
core: fix device log message in UNAVAILABLE state
2010-04-08 15:51:54 -07:00
Dan Williams
3592e59cab
wifi: fix log message
2010-04-08 15:51:32 -07:00
Dan Williams
ea05e90016
ethernet: fix debug log message
2010-04-08 15:00:32 -07:00
Dan Williams
78f7ef1115
logging: use INFO level for debug messages
...
By default most distros won't log debug messages to syslog; but we
want them logged when the user explicitly requests them via the logging
API and config options in NM. Half the point of doing more logging
was to make it easier for users to get logs out of NM, and having
to edit syslog configuration makes it all pointless.
2010-04-08 14:49:56 -07:00
Dan Williams
0d8174dfa6
logging: fix build on 32-bit platforms
2010-04-08 13:29:07 -07:00
Dan Williams
157e9f791d
core: log netlink link messages
2010-04-08 10:44:42 -07:00
Dan Williams
d0f2a50680
core: log kernel interface indexes
2010-04-08 09:30:05 -07:00
Dan Williams
8364ce7bac
wired: debug logging for carrier detect support detection
2010-04-08 09:22:52 -07:00
Dan Williams
7e5d6a42b0
logging: use --log-domains for consistency
2010-04-08 09:11:00 -07:00
Dan Williams
02002ef9d1
logging: add D-Bus method to change logging
2010-04-08 08:56:17 -07:00
Dan Williams
7fa8f29aaf
wifi: more supplicant/wifi debug logging
...
To help debug wifi device availablility.
2010-04-07 16:42:29 -07:00
Dan Williams
b0f056d787
core: log device delayed state transitions
2010-04-07 16:41:44 -07:00
Dan Williams
26efaaf168
core: more manager debug logging
2010-04-07 14:55:43 -07:00
Dan Williams
71bdbf9c25
wifi: log ipw killswitch changes
2010-04-07 14:55:29 -07:00
Dan Williams
df04e3f66c
udev: more debug logging of rfkill and udev
2010-04-07 14:46:03 -07:00
Dan Williams
4e5cfab478
logging: fix multiple log level handling
...
Ensure messages are only printed in the format their log level wants.
2010-04-07 14:43:32 -07:00
Dan Williams
6602813ffb
wifi: better scan debug logging
2010-04-07 14:31:35 -07:00
Dan Williams
ee58ac80bf
wifi: better debug log formatting
2010-04-07 14:17:43 -07:00
Dan Williams
637a912545
logging: fix log domain parsing
2010-04-07 14:08:34 -07:00
Dan Williams
0d0503f21a
logging: fix loc/func confusion
2010-04-07 13:40:27 -07:00
Dan Williams
e7877a0036
logging: adjust default domains to match previous log verbosity
2010-04-07 13:36:47 -07:00
Dan Williams
f354bd3d9f
logging: allow OLPC mesh logging to be used
2010-04-07 13:33:49 -07:00
Dan Williams
5eeef57581
wired: update logging
2010-04-07 13:24:25 -07:00
Dan Williams
e8b36c2318
wifi: log in the wifi domain too
2010-04-07 13:24:12 -07:00
Dan Williams
27a9ea5bed
wifi: enable quality debugging
2010-04-07 13:13:38 -07:00
Dan Williams
4e828c1bce
system: update logging
2010-04-07 13:10:33 -07:00
Dan Williams
9186db769a
wifi: update logging
2010-04-07 13:02:32 -07:00
Dan Williams
826243d5d1
wifi: update wpa utils logging
2010-04-07 12:37:48 -07:00
Dan Williams
058f1edb40
core: update base device logging
2010-04-07 12:31:39 -07:00
Dan Williams
f636c5048d
wifi: update logging for APs
2010-04-07 12:31:29 -07:00
Dan Williams
1f1a28ae20
core: update logging in misc files
2010-04-07 12:28:57 -07:00
Dan Williams
3f1604f3f0
system-settings: update logging
2010-04-07 12:27:34 -07:00
Dan Williams
acf8f7f531
core: update activation request logging
2010-04-07 11:36:38 -07:00
Dan Williams
ce8631eea2
core: update dbus-manager logging
2010-04-07 11:36:02 -07:00
Dan Williams
adc9ef60fc
logging: move config file logging options into their own section
2010-04-07 11:31:38 -07:00
Dan Williams
da98780506
system-settings: update logging
2010-04-07 11:31:02 -07:00
Dan Williams
796671d424
olpc-mesh: update logging
2010-04-07 11:22:41 -07:00
Dan Williams
75fa7b804d
logging: add OLPC mesh log domain
2010-04-07 11:13:25 -07:00
Dan Williams
4bc59be464
mobile-broadband: update logging
2010-04-07 11:08:43 -07:00
Dan Williams
b2f0c0fc65
bt: update logging
2010-04-07 11:07:19 -07:00
Dan Williams
3520fb273d
core: update policy logging
2010-04-07 10:57:39 -07:00
Dan Williams
8e7a25114b
logging: clarify some log domains
2010-04-07 10:55:30 -07:00
Dan Williams
ee109b94d9
ip6-manager: update logging
2010-04-07 10:41:53 -07:00