aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 09:36:45 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 09:36:45 (GMT)
commit8709de1ae8e48c53f9530cd4f84a2b751d9d5081 (patch)
tree9125c47af6a8f879c227a51dfb275c78ad3f979d /src/ap
parentaa48451698a86c3ed77add18993cfe89ca2f3975 (diff)
downloadhostap-8709de1ae8e48c53f9530cd4f84a2b751d9d5081.zip
hostap-8709de1ae8e48c53f9530cd4f84a2b751d9d5081.tar.gz
hostap-8709de1ae8e48c53f9530cd4f84a2b751d9d5081.tar.bz2
Remove unnecessary ifname parameter from hapd_get_ssid/hapd_set_ssid
Diffstat (limited to 'src/ap')
-rw-r--r--src/ap/ap_drv_ops.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index e387073..b392ebd 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -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);
}