wlan: scan taking more than 1 sec despite of dwell time values.

As part of scanning, we step through the list of channels and
calculate the "total scan duration" and initialize the HAL
with this value. The problem here is that we use the "dwelltime"
values set through the ioctl interface only if the  channel is
marked for "Active scan". For DFS channels that are marked for
passive scan, we retrieve the values from cfg and the default
value for it is 110msec. Since we have so many DFS channels
in the 5GHZ region, the final total scan duration is coming
to be much more than 1sec. The fix is to update the cfg with
the appropriate dwell times values when they got set through
the ioctl interface.

Change-Id: Idda79b3823021b8b9ea924b3230e2113fa963708
CRs-Fixed: 689494
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 72f3589..642c28c 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -1620,18 +1620,26 @@
         if (pParam->nActiveMaxChnTime)
         {
             pMac->roam.configParam.nActiveMaxChnTime = pParam->nActiveMaxChnTime;
+            cfgSetInt(pMac, WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME,
+                      pParam->nActiveMaxChnTime);
         }
         if (pParam->nActiveMinChnTime)
         {
             pMac->roam.configParam.nActiveMinChnTime = pParam->nActiveMinChnTime;
+            cfgSetInt(pMac, WNI_CFG_ACTIVE_MINIMUM_CHANNEL_TIME,
+                      pParam->nActiveMinChnTime);
         }
         if (pParam->nPassiveMaxChnTime)
         {
             pMac->roam.configParam.nPassiveMaxChnTime = pParam->nPassiveMaxChnTime;
+            cfgSetInt(pMac, WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME,
+                      pParam->nPassiveMaxChnTime);
         }
         if (pParam->nPassiveMinChnTime)
         {
             pMac->roam.configParam.nPassiveMinChnTime = pParam->nPassiveMinChnTime;
+            cfgSetInt(pMac, WNI_CFG_PASSIVE_MINIMUM_CHANNEL_TIME,
+                      pParam->nPassiveMinChnTime);
         }
         if (pParam->nActiveMaxChnTimeBtc)
         {