diff options
| author | Liangwei Dong <liangwei@codeaurora.org> | 2016-12-27 03:36:10 -0500 |
|---|---|---|
| committer | Ashish kumar goswami <agoswa@codeaurora.org> | 2017-01-09 15:03:26 +0530 |
| commit | 2c2a67d2d89b414311041bca8b92ecd987a3d89a (patch) | |
| tree | 4933054373700b6fb42cde3f86c73fe57e7b7ad0 | |
| parent | 7391dbec2dc3e6c53882d678a504488a98f539ad (diff) | |
qcacld-2.0: Fix same channel roam issue
When Roaming to same channel candidate AP, if
device is running in MCC mode, a channel request
is still needed for auth frame sending. Otherwise,
the auth frame could be sent in wrong channel.
Change-Id: I4eb63080e90030d505e7c4629b1b55d3defbb77a
CRs-Fixed: 1105736
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 4 |
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); |
