Re: [Patch] Don't activate networking on wake if it was disabled
- From: Dan Williams <dcbw redhat com>
- To: Tambet Ingo <tambet ximian com>
- Cc: networkmanager-list gnome org
- Subject: Re: [Patch] Don't activate networking on wake if it was disabled
- Date: Thu, 05 Oct 2006 21:07:16 -0400
On Wed, 2006-10-04 at 15:31 +0300, Tambet Ingo wrote:
> Hey,
>
> Here's a hack^W patch to keep the enabled/disabled state after waking up
> from sleep. Currently, sleep is used for both sleep and disabling
> networking so disable networking -> suspend -> resume results in enabled
> networking. As Robert pointed out, it's especially bad when resuming on
> an airplane since resume always enables networking.
>
> To work around this problem without changing the public dbus api, I
> added an optional boolean argument to sleep and wake methods to make
> distinction between the two. For 0.7 branch we should probably do
> something cleaner.
Ugly, but we're not breaking API so approved :)
Dan
> Tambet
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]