wlan: Fix Setting of SA Query Configuration Parameters

The values of the PMF SA query configuration parameters
"SA query max retries" and "SA query retry interval" cannot
be set in the driver configuration file.

This is now fixed by adding appropriate code to the driver to
read values for these items from the file and writing the values
to existing entries in the driver configuration subsystem.

Change-Id: I718d96cd6227b462d7dca171675571f77d3d1b0c
CRs-Fixed: 654902
diff --git a/CORE/MAC/src/pe/lim/limSendManagementFrames.c b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
index f78fc8d..10c14b3 100644
--- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c
+++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
@@ -1508,24 +1508,22 @@
         }
 #endif
 
-
 #ifdef WLAN_FEATURE_11W
         if( eSIR_MAC_TRY_AGAIN_LATER == statusCode )
         {
-                if ( wlan_cfgGetInt(pMac, WNI_CFG_PMF_SA_QUERY_MAX_RETRIES,
-                                        &maxRetries ) != eSIR_SUCCESS )
-                        limLog( pMac, LOGE, FL("Could not retrieve PMF SA "
-                                                "Query maximum retries value") );
+            if ( wlan_cfgGetInt(pMac, WNI_CFG_PMF_SA_QUERY_MAX_RETRIES,
+                                &maxRetries ) != eSIR_SUCCESS )
+                limLog( pMac, LOGE,
+                        FL("Could not retrieve PMF SA Query maximum retries value") );
+            else
+                if ( wlan_cfgGetInt(pMac, WNI_CFG_PMF_SA_QUERY_RETRY_INTERVAL,
+                                    &retryInterval ) != eSIR_SUCCESS)
+                    limLog( pMac, LOGE,
+                            FL("Could not retrieve PMF SA Query timer interval value") );
                 else
-                        if ( wlan_cfgGetInt(pMac, WNI_CFG_PMF_SA_QUERY_RETRY_INTERVAL,
-                                                &retryInterval ) != eSIR_SUCCESS)
-                                limLog( pMac, LOGE, FL("Could not retrieve PMF SA "
-                                                        "Query timer interval value") );
-                        else
-                                PopulateDot11fTimeoutInterval(
-                                                pMac, &frm.TimeoutInterval,
-                                                SIR_MAC_TI_TYPE_ASSOC_COMEBACK,
-                            (maxRetries - pSta->pmfSaQueryRetryCount) * retryInterval );
+                    PopulateDot11fTimeoutInterval(
+                        pMac, &frm.TimeoutInterval, SIR_MAC_TI_TYPE_ASSOC_COMEBACK,
+                        (maxRetries - pSta->pmfSaQueryRetryCount) * retryInterval );
         }
 #endif
     } // End if on non-NULL 'pSta'.