gsupplicant: Report AddNetwork and SelectNetwork errors to caller
authorPatrik Flykt <patrik.flykt@nokia.com>
Fri, 4 Feb 2011 13:14:19 +0000 (15:14 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 7 Feb 2011 23:58:47 +0000 (00:58 +0100)
commitc280448c625ebd29e9718807c8774215c87e0382
tree4d8bfffd4da4eeaa3cc2dd63fa5682fdf26099d7
parent29873834009a4e88efc151104dfac3975ddeba81
gsupplicant: Report AddNetwork and SelectNetwork errors to caller

Call interface_connect_data callback when an error is reported for
wpa_supplicant AddNetwork and SelectNetwork method calls. In the case
of WPA-PSK or WEP key being incorrectly formatted, set the callback
result to -ENOKEY.
gsupplicant/supplicant.c