This is more consistent with other error cases. Signed-off-by: Jouni Malinen <j@w1.fi>
@@ -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,
#endif /* CONFIG_FST */