mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
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>
This commit is contained in:
parent
8659e33342
commit
ceb8a79c33
@ -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 */
|
#endif /* CONFIG_FST */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user