aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_priv.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-09-05 08:54:06 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-05 08:54:06 (GMT)
commit85f4381e145c974e752781a01f54a845687982fe (patch)
treec1e113e25a1c99936484a2f35b2a122ff6b41bf6 /wpa_supplicant/wpa_priv.c
parentbd1f06aaa80b4ec7e3038a6164255a8cd93a6ffe (diff)
downloadhostap-85f4381e145c974e752781a01f54a845687982fe.zip
hostap-85f4381e145c974e752781a01f54a845687982fe.tar.gz
hostap-85f4381e145c974e752781a01f54a845687982fe.tar.bz2
wpa_priv: allow l2_packet to be opened for ethertype 0x890d
This is needed to initialize TDLS functionality. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_priv.c')
-rw-r--r--wpa_supplicant/wpa_priv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_priv.c b/wpa_supplicant/wpa_priv.c
index 0d4aeeb..152e955 100644
--- 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;