wlan: Avoid sending duplicate get frame logs cmd to sme pending queue

During connect request, SME tries to connect to multiple BSSID
one by one until the connection is success or all BSSID are tried.
For every failed BSSID get frame logs is queued in sme pending queue.
So if SME fails to connect to multiple BSSID, multiple duplicate get
frame logs cmd are queued in sme pending queue and this can cause SME
run out of cmd buffer.

Also only one get frame logs req is enough to get the required logs
for the connect failure and all the duplicate get frame logs req,
will get no extra logs.

To fix this queue only one get frame logs cmd to SME pending queue
even if connect fails with multiple BSSID, which will be sent to
firmware once connect cmd is completed.

Change-Id: I6200e884fdf63fc97bb2826157d5d7347fcc0f85
CRs-Fixed: 2056980
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 63fd84d..5217874 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -14500,6 +14500,7 @@
     {
         hdd_station_ctx_t *pHddStaCtx;
         pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);
+        pHddStaCtx->get_mgmt_log_sent = FALSE;
 
         wlan_hdd_get_frame_logs(pAdapter, WLAN_HDD_GET_FRAME_LOG_CMD_CLEAR);