Sugar Ad-hoc network: reconnect after suspend
|Reported by:||erikos||Owned by:||erikos|
|Component:||sugar||Version:||Development build as of this date|
|Deployments affected:||Action Needed:||diagnose|
I slightly other approach than we had in 10.1.3, but the result will be similar for the user.
Pushed fix as: 582f9df1acbff8c71d897f37a4a4e98d4830fd3f
Setting the 'autoconnect' property for the connection will let NM do the reconnection when the device is up. If the Sugar Ad-hoc network is around it will automatically connect to it. The connection is not stored after logging out of Sugar.
The autoconnect functionality inside Sugar is still needed for the cases when we log into Sugar, after a timeout we will connect to an exisiting Ad-hoc network or will default to the Sugar Ad-hoc network on channel 1. I increased the timeout to 60 seconds because during testing I found to get more reliable results like that.
Will be in Sugar 0.92.1