Hi Martin, > We should set pending message to the created join service, so when connect > successfully, we can return successful message. > And the auto-scan can be stopped when connecting hidden network. > > But I think the best way is to use __connman_service_connect() instead of > join(). So we can easily handle it. > If you agree with the way, I can give out the patch. > > From 6240492920057d5918c08b94ad35f81bcb99d95e Mon Sep 17 00:00:00 2001 > From: Martin Xu <[email protected]> > Date: Wed, 8 Jul 2009 22:15:09 -0400 > Subject: [PATCH 4/5] set pending message to join service
patch 3/5 and 4/5 are not locking correct. We should not expose the pending details outside service.c API. So if you can use the service connect method that would be preferred. Regards Marcel _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
