prima: max_scan_ie_len should have the combined lenght of all IEs

max_scan_ie_len of wiphy structure should be updated with the
max length of IEs which can be added to a probe request frame.
In current implement it has been updated with the max length of
an IE.

Change-Id: I28ff17e9de472040da3f85a02d3b31cfe46811b4
CRs-Fixed: 820817
diff --git a/CORE/MAC/src/pe/lim/limSerDesUtils.c b/CORE/MAC/src/pe/lim/limSerDesUtils.c
index 76ad257..cfe9ff9 100644
--- a/CORE/MAC/src/pe/lim/limSerDesUtils.c
+++ b/CORE/MAC/src/pe/lim/limSerDesUtils.c
@@ -1094,7 +1094,7 @@
     if (pJoinReq->addIEScan.length)
     {
         // Check for IE length (that includes length of type & length)
-        if (pJoinReq->addIEScan.length > SIR_MAC_MAX_IE_LENGTH + 2)
+        if (pJoinReq->addIEScan.length > SIR_MAC_MAX_ADD_IE_LENGTH + 2)
         {
             limLog(pMac, LOGE,
                    FL("Invalid addIE Scan length %d in SME_JOIN_REQ"),