OSDN Git Service
(root)
/
android-x86
/
external-wpa_supplicant_8.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
am 18493732: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
[android-x86/external-wpa_supplicant_8.git]
/
wpa_supplicant
/
driver_i.h
diff --git
a/wpa_supplicant/driver_i.h
b/wpa_supplicant/driver_i.h
index
6bab19c
..
9922e07
100644
(file)
--- a/
wpa_supplicant/driver_i.h
+++ b/
wpa_supplicant/driver_i.h
@@
-129,6
+129,16
@@
static inline int wpa_drv_set_key(struct wpa_supplicant *wpa_s,
return -1;
}
return -1;
}
+static inline int wpa_drv_sta_deauth(struct wpa_supplicant *wpa_s,
+ const u8 *addr, int reason_code)
+{
+ if (wpa_s->driver->sta_deauth) {
+ return wpa_s->driver->sta_deauth(wpa_s->drv_priv, NULL, addr,
+ reason_code);
+ }
+ return -1;
+}
+
static inline int wpa_drv_deauthenticate(struct wpa_supplicant *wpa_s,
const u8 *addr, int reason_code)
{
static inline int wpa_drv_deauthenticate(struct wpa_supplicant *wpa_s,
const u8 *addr, int reason_code)
{