From 564313929854c82fc286113efdfb0c80c1943e12 Mon Sep 17 00:00:00 2001 From: Hong Shi Date: Mon, 7 Nov 2016 14:09:39 +0800 Subject: qcacld-3.0: Fix p2p group info missed in probe response qcacld-2.0 to qcacld-3.0 propagation The p2p group info or p2p IE missed in probe response is because genie len is limited to 255 bytes. It will be fine if supplicant send down only p2p IE. But if supplicant send down WPS ie and p2p ie in same time, buffer is overflowed and p2p ie will not be added to frame. CRs-Fixed: 959456 Change-Id: I8125bc186e6372f46cd1978fd82fe1b907cdaec4 --- core/hdd/inc/wlan_hdd_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 1ae408e2c7b1..e4ec7b54c8fe 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -161,7 +161,7 @@ /** Mac Address string **/ #define MAC_ADDRESS_STR "%02x:%02x:%02x:%02x:%02x:%02x" #define MAC_ADDRESS_STR_LEN 18 /* Including null terminator */ -#define MAX_GENIE_LEN 255 +#define MAX_GENIE_LEN 512 #define WLAN_CHIP_VERSION "WCNSS" -- cgit v1.2.3