mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
P2P: Add P2P_ASSOC_RESP to P2P vendor elements
Vendor specific IEs added to frame type P2P_ASSOC_RESP are saved in the interface context, but as they are added as part of the P2P IEs, they need to be saved in the global P2P context. Fix this by directing vendor specific IEs added to P2P_ASSOC_RESP frame type to the P2P context. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
This commit is contained in:
parent
cf0dffd67e
commit
932267ad67
@ -7825,6 +7825,7 @@ wpas_ctrl_vendor_elem_iface(struct wpa_supplicant *wpa_s,
|
|||||||
case VENDOR_ELEM_P2P_INV_REQ:
|
case VENDOR_ELEM_P2P_INV_REQ:
|
||||||
case VENDOR_ELEM_P2P_INV_RESP:
|
case VENDOR_ELEM_P2P_INV_RESP:
|
||||||
case VENDOR_ELEM_P2P_ASSOC_REQ:
|
case VENDOR_ELEM_P2P_ASSOC_REQ:
|
||||||
|
case VENDOR_ELEM_P2P_ASSOC_RESP:
|
||||||
return wpa_s->parent;
|
return wpa_s->parent;
|
||||||
#endif /* CONFIG_P2P */
|
#endif /* CONFIG_P2P */
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user