aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 08:05:05 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 08:05:05 (GMT)
commit7ab68865c03615be7a69daf219336a3c123b894c (patch)
treeb10e1762b268f7d9f936dcbe6fcf4caa245199cc /src/ap
parent17557ebe30e00fe9775903d98e0170b4e8280bb0 (diff)
downloadhostap-7ab68865c03615be7a69daf219336a3c123b894c.zip
hostap-7ab68865c03615be7a69daf219336a3c123b894c.tar.gz
hostap-7ab68865c03615be7a69daf219336a3c123b894c.tar.bz2
Remove unneeded iface parameter from if_add() driver op
Diffstat (limited to 'src/ap')
-rw-r--r--src/ap/ap_drv_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index b7298dc..def8db8 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -412,8 +412,8 @@ int hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type,
{
if (hapd->driver == NULL || hapd->driver->if_add == NULL)
return -1;
- return hapd->driver->if_add(hapd->conf->iface, hapd->drv_priv, type,
- ifname, addr, bss_ctx, drv_priv);
+ return hapd->driver->if_add(hapd->drv_priv, type, ifname, addr,
+ bss_ctx, drv_priv);
}