Remove unnecessary ifname parameter from hapd_get_ssid/hapd_set_ssid

This commit is contained in:
Jouni Malinen 2010-03-07 11:36:45 +02:00
parent aa48451698
commit 8709de1ae8
7 changed files with 14 additions and 20 deletions

View file

@ -390,8 +390,7 @@ int hostapd_get_ssid(struct hostapd_data *hapd, u8 *buf, size_t len)
{
if (hapd->driver == NULL || hapd->driver->hapd_get_ssid == NULL)
return 0;
return hapd->driver->hapd_get_ssid(hapd->conf->iface, hapd->drv_priv,
buf, len);
return hapd->driver->hapd_get_ssid(hapd->drv_priv, buf, len);
}
@ -399,8 +398,7 @@ int hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len)
{
if (hapd->driver == NULL || hapd->driver->hapd_set_ssid == NULL)
return 0;
return hapd->driver->hapd_set_ssid(hapd->conf->iface, hapd->drv_priv,
buf, len);
return hapd->driver->hapd_set_ssid(hapd->drv_priv, buf, len);
}