Remove unneeded ifname parameter from set_privacy() driver op

This commit is contained in:
Jouni Malinen 2010-03-07 11:29:17 +02:00
parent 044372a333
commit d5dd016a8a
7 changed files with 10 additions and 13 deletions

View file

@ -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);
}