aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 09:45:41 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 09:45:41 (GMT)
commit3234cba40e6802d97c3df0339c4392fd2c1f294f (patch)
treeb52de79a8e2d040ea29435c602da4ed18aa9fdf2 /wpa_supplicant/driver_i.h
parent62847751e4d7e478198424767944ce79a464fecd (diff)
downloadhostap-3234cba40e6802d97c3df0339c4392fd2c1f294f.zip
hostap-3234cba40e6802d97c3df0339c4392fd2c1f294f.tar.gz
hostap-3234cba40e6802d97c3df0339c4392fd2c1f294f.tar.bz2
Remove unnecessary ifname parameter to sta_set_flags() 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 d92a734..8b312a4 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -365,8 +365,7 @@ static inline int wpa_drv_sta_set_flags(struct wpa_supplicant *wpa_s,
int flags_or, int flags_and)
{
if (wpa_s->driver->sta_set_flags)
- return wpa_s->driver->sta_set_flags(wpa_s->ifname,
- wpa_s->drv_priv, addr,
+ return wpa_s->driver->sta_set_flags(wpa_s->drv_priv, addr,
total_flags, flags_or,
flags_and);
return -1;