aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-25 16:50:43 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-25 16:50:43 (GMT)
commitceb8a79c33fe3d29bda2e9530663f7a4c22105b9 (patch)
treefb00ef898c34de7c15df7e6898db8fb28906c8b6 /hostapd/ctrl_iface.c
parent8659e33342b6b031331bde29553f6e818bb82878 (diff)
downloadhostap-ceb8a79c33fe3d29bda2e9530663f7a4c22105b9.zip
hostap-ceb8a79c33fe3d29bda2e9530663f7a4c22105b9.tar.gz
hostap-ceb8a79c33fe3d29bda2e9530663f7a4c22105b9.tar.bz2
FST: Use -EINVAL instead of EINVAL as return value
This is more consistent with other error cases. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/ctrl_iface.c')
-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 6be6c2a..aa80353 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -2586,7 +2586,7 @@ hostapd_global_ctrl_iface_fst_attach(struct hapd_interfaces *interfaces,
}
}
- return EINVAL;
+ return -EINVAL;
}
@@ -2608,7 +2608,7 @@ hostapd_global_ctrl_iface_fst_detach(struct hapd_interfaces *interfaces,
}
}
- return EINVAL;
+ return -EINVAL;
}
#endif /* CONFIG_FST */