Add return value to ACL functions
While these do not return error code within the current hostapd implementation, matching functions in wpa_supplicant AP functionality will have an error case and using consistent return type will make the control interface code more consistent. In addition, export hostapd_set_acl() in preparation for the wpa_supplicant control interface implementation extension. Signed-off-by: Chaoli Zhou <quic_zchaoli@quicinc.com>
This commit is contained in:
parent
f5ac428116
commit
fd0d738ff4
4 changed files with 17 additions and 10 deletions
|
@ -709,4 +709,6 @@ void fst_hostapd_fill_iface_obj(struct hostapd_data *hapd,
|
|||
struct fst_wpa_obj *iface_obj);
|
||||
#endif /* CONFIG_FST */
|
||||
|
||||
int hostapd_set_acl(struct hostapd_data *hapd);
|
||||
|
||||
#endif /* HOSTAPD_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue