Remove unneeded ifname parameter from set_privacy() driver op
This commit is contained in:
parent
044372a333
commit
d5dd016a8a
7 changed files with 10 additions and 13 deletions
|
@ -373,8 +373,7 @@ int hostapd_set_privacy(struct hostapd_data *hapd, int enabled)
|
|||
{
|
||||
if (hapd->driver == NULL || hapd->driver->set_privacy == NULL)
|
||||
return 0;
|
||||
return hapd->driver->set_privacy(hapd->conf->iface, hapd->drv_priv,
|
||||
enabled);
|
||||
return hapd->driver->set_privacy(hapd->drv_priv, enabled);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue