aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-25 19:50:43 +0300
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:19:54 -0600
commitcc8915600ad4b8bae41a5b37193f3684e9974707 (patch)
tree1363772b19f1e9d1f23ab9f581d8b0971680a25e /hostapd
parent1f2de22555e3116dec49aea8d4998765251768bc (diff)
downloadandroid_external_wpa_supplicant_8-cc8915600ad4b8bae41a5b37193f3684e9974707.tar.gz
android_external_wpa_supplicant_8-cc8915600ad4b8bae41a5b37193f3684e9974707.tar.bz2
android_external_wpa_supplicant_8-cc8915600ad4b8bae41a5b37193f3684e9974707.zip
FST: Use -EINVAL instead of EINVAL as return value
This is more consistent with other error cases. Change-Id: Ic52c1dd5242cfdb05ce3c93f661587af7221e97f Signed-off-by: Jouni Malinen <j@w1.fi> Git-commit: ceb8a79c33fe3d29bda2e9530663f7a4c22105b9 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 891455
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/ctrl_iface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index b096135e..f9e317e5 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -2487,7 +2487,7 @@ hostapd_global_ctrl_iface_fst_attach(struct hapd_interfaces *interfaces,
}
}
- return EINVAL;
+ return -EINVAL;
}
@@ -2509,7 +2509,7 @@ hostapd_global_ctrl_iface_fst_detach(struct hapd_interfaces *interfaces,
}
}
- return EINVAL;
+ return -EINVAL;
}
#endif /* CONFIG_FST */