service: Correctly set 8021X, WEP and PSK passphrases
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 9 Aug 2011 07:59:15 +0000 (10:59 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Aug 2011 10:16:34 +0000 (12:16 +0200)
commitce2ed4a7da1b64bd1f69d50ddc3850dbe52da28e
tree5a7f0d0ff0eb08f8a80fc97730f6b25258043fd9
parenta5387920a3da98e35584418ace0af92259835301
service: Correctly set 8021X, WEP and PSK passphrases

When returning a passphrase from the Agent API RequestInput method, check
the service security type and set the passphrase accordingly. For WEP and
PSK use __connman_service_set_passphrase() and for 8021X use
__connman_service_set_agent_passphrase(). Print a debug message if the
service security type is none of the three above.
src/service.c