Hi,
Patch 03 fixes the issue with not being able to set a passphrase when
it is defined in a .config file. The fix is to simply set the immutable
flag after configuring the service.
In order to come this far, patch 02 moves around the part where a service
is connected, directly or by running autoconnect. Also to not is that
virtual, i.e. currently NFC provisioned WiFi networks, are not immutable.
While investigatin the issue, it was noticed that the configuration was
checking for the service type in more than one place. With this patch all
the service matching is now collected into one place and the literal
service type names are replaced with the helper function from service.c.
Cheers,
Patrik
Patrik Flykt (3):
config: Refactor checks for configuration file type
config: Refactor connecting after service provisioning
config: Set service to immutable after completed configuration
src/config.c | 107 +++++++++++++++++++++++++++++++++++------------------------
1 file changed, 63 insertions(+), 44 deletions(-)
--
1.9.1
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman