From 932267ad67e6582e08b06faff563395a105345a8 Mon Sep 17 00:00:00 2001 From: Avraham Stern Date: Wed, 14 Oct 2015 18:43:18 +0300 Subject: [PATCH] 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 --- wpa_supplicant/ctrl_iface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index a32b718..9538c51 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -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_RESP: case VENDOR_ELEM_P2P_ASSOC_REQ: + case VENDOR_ELEM_P2P_ASSOC_RESP: return wpa_s->parent; #endif /* CONFIG_P2P */ default: -- 2.1.4