On 01/17/2014 03:44 PM, Patrik Flykt wrote: > On Fri, 2014-01-17 at 15:11 +0100, Daniel Wagner wrote: >> I played around with your idea. Something which isn't obvious is that >> service->userconnect is a flag which says the user has pressed >> Service.Connect(). That can't be mixed with service->connect_reason. > > It's Friday, and I can't figure out why not... Did you refer to clearing > of the reason in the other parts of the code? If a service gets > connected, there is no way it can be connected again, so there is never > a transition from the connect reason to another connect reason state > while a service is connected.
Indead it is Friday :) I have tried to replace the boolean with the enum and it got messy because how the flag is used. My current attempt is to do it slightly different, maybe this time it works out. stay tuned for updates! daniel _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
