projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd1f06a
)
wpa_priv: allow l2_packet to be opened for ethertype 0x890d
author
Jouni Malinen
<j@w1.fi>
Sat, 5 Sep 2015 08:54:06 +0000
(11:54 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sat, 5 Sep 2015 08:54:06 +0000
(11:54 +0300)
This is needed to initialize TDLS functionality.
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_priv.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wpa_priv.c
b/wpa_supplicant/wpa_priv.c
index
0d4aeeb
..
152e955
100644
(file)
--- a/
wpa_supplicant/wpa_priv.c
+++ b/
wpa_supplicant/wpa_priv.c
@@
-356,7
+356,8
@@
static void wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface,
}
proto = reg_cmd[0];
- if (proto != ETH_P_EAPOL && proto != ETH_P_RSN_PREAUTH) {
+ if (proto != ETH_P_EAPOL && proto != ETH_P_RSN_PREAUTH &&
+ proto != ETH_P_80211_ENCAP) {
wpa_printf(MSG_DEBUG, "Refused l2_packet connection for "
"ethertype 0x%x", proto);
return;