Revert "wlan: Update roam cached channel list to FW"

This reverts commit Ie429c2299055570a8955f0642fd02cab3fd8d905.

If related Fw changes are not present, updation of cached list
may cause firmware assert, add changes to revert this change.

CRs-Fixed: 1065710
Change-Id: I1d061635f5a08a8f35516cb350185bda10cd5d7f
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c
index 9be8337..6918de3 100644
--- a/CORE/SME/src/csr/csrApiScan.c
+++ b/CORE/SME/src/csr/csrApiScan.c
@@ -2293,6 +2293,7 @@
     return 0;
 }
 
+
 static tANI_BOOLEAN csrIsBetterBssInCongestion(tCsrScanResult *pBss1,
                                                tCsrScanResult *pBss2)
 {
@@ -3584,7 +3585,6 @@
     tANI_U32 sessionId = CSR_SESSION_ID_INVALID;
     tAniSSID tmpSsid;
     v_TIME_t timer=0;
-    tANI_U8 occupied_chan_count = pMac->scan.occupiedChannels.numChannels;
 
     tmpSsid.length = 0;
 
@@ -3673,19 +3673,6 @@
         }
     }
 
-#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
-    if (csrIsSessionClientAndConnected(pMac,
-        pMac->roam.roamSession->sessionId) &&
-        (pMac->scan.occupiedChannels.numChannels != occupied_chan_count))
-    {
-        /* Update FW with new list */
-        smsLog(pMac, LOGW,
-               FL("Updating occupied channel list, new chanNum %d"),
-               pMac->scan.occupiedChannels.numChannels);
-        csrRoamOffloadScan(pMac, ROAM_SCAN_OFFLOAD_UPDATE_CFG,
-                           REASON_CHANNEL_LIST_CHANGED);
-    }
-#endif
     pEntry = csrLLPeekHead( &pMac->scan.scanResultList, LL_ACCESS_LOCK );
     //we don't need to update CC while connected to an AP which is advertising CC already
     if (csrIs11dSupported(pMac))