[Sugar-devel] [PATCH] Fix broken mesh support
James Cameron
quozl at laptop.org
Wed Jun 9 18:38:52 EDT 2010
On Wed, Jun 09, 2010 at 05:09:42PM -0400, Martin Abente wrote:
> From: Martin Abente <mabente at paraguayeduca.org>
> Date: Wed, 9 Jun 2010 16:31:29 -0400
> Subject: [PATCH] Fix duplication of OLPC mesh icons
> Organization: Paraguay Educa
>
> Three or more mesh icons were being added after every suspend/resume.
>
> There was already code present to detect when the device goes away and
> remove the icons, but it was not working. NetworkManagerObserver was
> attempting to look at the properties of the gone-away device in order to
> see if it is a mesh device, but this was failing because the device has
> already been destroyed at this point.
>
> Solve this by recording the device path of the mesh device when it is
> detected, so that we can later determine if the gone-away device is the
> mesh device.
>
> Signed-off-by: Martin Abente <mabente at paraguayeduca.org>
Reviewed-by: James Cameron <quozl at laptop.org>
--
James Cameron
http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list