wlan: On Security change,take action on probe resp instead of beacon.

In case DUT is connected to AP with RSN security and AP doesn't have
the RSN IE in beacon but it is present in probe responses,
On receiving the first beacon after connection, DUT detect that the
psession security doesnt match with that of beacon and issues a
disconnect.

To handle this, if security doesnt match with the beacon, send a
unicast probe request to AP and take decision based on the probe
response from AP.

Change-Id: I2b75caeb7a2b9972729c0aea46605e5c618d3e5a
CRs-fixed: 777077
diff --git a/CORE/MAC/src/pe/lim/limApi.c b/CORE/MAC/src/pe/lim/limApi.c
index fd1a22e..36e02fe 100644
--- a/CORE/MAC/src/pe/lim/limApi.c
+++ b/CORE/MAC/src/pe/lim/limApi.c
@@ -1866,10 +1866,7 @@
           (eSIR_FALSE == securityCapsMatched)
           ) ) )
     {
-        /* No need to send probe request if security
-         * capability doesnt match, Disconnect directly.*/
-        if( (false == psessionEntry->fWaitForProbeRsp) &&
-                              (eSIR_TRUE == securityCapsMatched))
+        if ( false == psessionEntry->fWaitForProbeRsp )
         {
             /* If Beacon capabilities is not matching with the current capability,
              * then send unicast probe request to AP and take decision after