summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/SERVICES/WMA/wma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index aa91f0f7ecc3..82f4f9f8542e 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -14283,8 +14283,8 @@ static void wma_set_channel(tp_wma_handle wma, tpSwitchChannelParams params)
WMA_ROAM_PREAUTH_CHAN_NONE) {
/* Is channel change required?
*/
- if(vos_chan_to_freq(params->channelNumber) !=
- wma->interfaces[vdev_id].mhz)
+ if(wma_is_mcc_starting(wma,
+ vos_chan_to_freq(params->channelNumber)))
{
status = wma_roam_preauth_chan_set(wma,
params, vdev_id);