aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-20 16:33:13 +0300
committerJouni Malinen <j@w1.fi>2009-04-20 16:33:13 +0300
commita8d6ffa48f52648f344a06976303410bc7256e0f (patch)
tree3d8bde56d1ef0ceef46a3b4d78aa78d85e841f6e /wpa_supplicant/driver_i.h
parentdb149ac9492c7da0db7e172cf777a4385712c278 (diff)
downloadexternal_wpa_supplicant_8_ti-a8d6ffa48f52648f344a06976303410bc7256e0f.zip
external_wpa_supplicant_8_ti-a8d6ffa48f52648f344a06976303410bc7256e0f.tar.gz
external_wpa_supplicant_8_ti-a8d6ffa48f52648f344a06976303410bc7256e0f.tar.bz2
wpa_supplicant AP: Add sta_set_flags
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 45107f7..75a800c 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -427,4 +427,15 @@ static inline int wpa_drv_hapd_send_eapol(struct wpa_supplicant *wpa_s,
return -1;
}
+static inline int wpa_drv_sta_set_flags(struct wpa_supplicant *wpa_s,
+ const u8 *addr, int total_flags,
+ int flags_or, int flags_and)
+{
+ if (wpa_s->driver->sta_set_flags)
+ return wpa_s->driver->sta_set_flags(wpa_s->drv_priv, addr,
+ total_flags, flags_or,
+ flags_and);
+ return -1;
+}
+
#endif /* DRIVER_I_H */