aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 11:42:41 +0200
committerJouni Malinen <j@w1.fi>2010-03-07 11:42:41 +0200
commit62847751e4d7e478198424767944ce79a464fecd (patch)
tree52134eb4c09e0caa37e3ff8f130a17f11af7e562 /src/ap/ap_drv_ops.c
parent8709de1ae8e48c53f9530cd4f84a2b751d9d5081 (diff)
downloadexternal_wpa_supplicant_8_ti-62847751e4d7e478198424767944ce79a464fecd.zip
external_wpa_supplicant_8_ti-62847751e4d7e478198424767944ce79a464fecd.tar.gz
external_wpa_supplicant_8_ti-62847751e4d7e478198424767944ce79a464fecd.tar.bz2
Remove unnecessary ifname parameter from sta_add() driver op
Diffstat (limited to 'src/ap/ap_drv_ops.c')
-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 b392ebd..2261cdf 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -299,7 +299,7 @@ static int hostapd_sta_disassoc(struct hostapd_data *hapd, const u8 *addr,
}
-static int hostapd_sta_add(const char *ifname, struct hostapd_data *hapd,
+static int hostapd_sta_add(struct hostapd_data *hapd,
const u8 *addr, u16 aid, u16 capability,
const u8 *supp_rates, size_t supp_rates_len,
u16 listen_interval,
@@ -320,7 +320,7 @@ static int hostapd_sta_add(const char *ifname, struct hostapd_data *hapd,
params.supp_rates_len = supp_rates_len;
params.listen_interval = listen_interval;
params.ht_capabilities = ht_capab;
- return hapd->driver->sta_add(ifname, hapd->drv_priv, &params);
+ return hapd->driver->sta_add(hapd->drv_priv, &params);
}