diff options
author | Jaakko Hannikainen <jaakko.hannikainen@intel.com> | 2015-08-10 13:50:38 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2015-08-14 14:18:15 +0300 |
commit | bc2abb4257afd4b720e6cede6630e5e4e6f7c41a (patch) | |
tree | 4ce9c35266771cd510f44dbe406f0ae3652e5b8a /gsupplicant | |
parent | 22d4605ae647db5d90c88d9f66164c66867334ed (diff) | |
download | connman-bc2abb4257afd4b720e6cede6630e5e4e6f7c41a.tar.gz |
service: Return OperationAborted on agent cancel
When connecting to a hidden wireless service for the first time,
connmand asks the SSID through the agent api. If the agent returns
Canceled, return OperationAborted to the caller of Connect() as other
calls to Connect() behave this way.
Diffstat (limited to 'gsupplicant')
-rw-r--r-- | gsupplicant/supplicant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index 37e5e3c9..0d32934a 100644 --- a/gsupplicant/supplicant.c +++ b/gsupplicant/supplicant.c @@ -4031,7 +4031,7 @@ int g_supplicant_interface_scan(GSupplicantInterface *interface, static int parse_supplicant_error(DBusMessageIter *iter) { - int err = -ECANCELED; + int err = -ECONNABORTED; char *key; if (!iter) |