summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHong Shi <hongsh@codeaurora.org>2016-11-07 14:09:39 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-18 16:44:39 -0800
commit564313929854c82fc286113efdfb0c80c1943e12 (patch)
tree3a1a87ed2af2dc3729bf07cff090d487ff4d1a02
parent3b90c798d7fdc0d2278d0fab41b2436fa4cdcf6e (diff)
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
-rw-r--r--core/hdd/inc/wlan_hdd_main.h2
1 files changed, 1 insertions, 1 deletions
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"