aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 09:42:41 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 09:42:41 (GMT)
commit62847751e4d7e478198424767944ce79a464fecd (patch)
tree52134eb4c09e0caa37e3ff8f130a17f11af7e562 /wpa_supplicant/driver_i.h
parent8709de1ae8e48c53f9530cd4f84a2b751d9d5081 (diff)
downloadhostap-62847751e4d7e478198424767944ce79a464fecd.zip
hostap-62847751e4d7e478198424767944ce79a464fecd.tar.gz
hostap-62847751e4d7e478198424767944ce79a464fecd.tar.bz2
Remove unnecessary ifname parameter from sta_add() driver op
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 51c5afd..d92a734 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -336,8 +336,7 @@ static inline int wpa_drv_sta_add(struct wpa_supplicant *wpa_s,
struct hostapd_sta_add_params *params)
{
if (wpa_s->driver->sta_add)
- return wpa_s->driver->sta_add(wpa_s->ifname, wpa_s->drv_priv,
- params);
+ return wpa_s->driver->sta_add(wpa_s->drv_priv, params);
return -1;
}