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>
This commit is contained in:
parent
bd1f06aaa8
commit
85f4381e14
1 changed files with 2 additions and 1 deletions
|
@ -356,7 +356,8 @@ static void wpa_priv_cmd_l2_register(struct wpa_priv_interface *iface,
|
||||||
}
|
}
|
||||||
|
|
||||||
proto = reg_cmd[0];
|
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 "
|
wpa_printf(MSG_DEBUG, "Refused l2_packet connection for "
|
||||||
"ethertype 0x%x", proto);
|
"ethertype 0x%x", proto);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue