wifi: Check invalid key/passphrase in gsupplicant connect callback
authorPatrik Flykt <patrik.flykt@nokia.com>
Fri, 4 Feb 2011 13:14:22 +0000 (15:14 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 8 Feb 2011 00:02:44 +0000 (01:02 +0100)
commit6a4734af1afd44156c5d4862987a6b8fc5ebd3a8
tree02227273d251f5ecaaa64b7e4ab2ebd60a10a5bb
parentd844a8420a3594b12a94b8fe64101152f173bee9
wifi: Check invalid key/passphrase in gsupplicant connect callback

Use network struct as connect callback user data and set network
error to CONNMAN_NETWORK_ERROR_INVALID_KEY if gsupplicant indicates
key/passphrase error. For other errors < 0 set network error to
CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL.
plugins/wifi.c