Do not set driver MAC ACL unless driver supports this
This cleans up debug log by not including comments about failed operations in case the operation is known to fail due to not being supported by the driver. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
3c4ca36330
commit
3cb953e4b6
3 changed files with 5 additions and 0 deletions
|
@ -870,6 +870,8 @@ static void hostapd_set_acl(struct hostapd_data *hapd)
|
|||
int err;
|
||||
u8 accept_acl;
|
||||
|
||||
if (hapd->iface->drv_max_acl_mac_addrs == 0)
|
||||
return;
|
||||
if (!(conf->bss->num_accept_mac || conf->bss->num_deny_mac))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue