mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Fail channel switch if current chan and mode same as previous
Currently we fail channel switch if new channel matches old channel. So it dosnot take into account of mode switches HT20/HT40/VHT80. So process channel switch request if either channel or mode is different. Change-Id: I8743a6292277daad8b1bf38b79c236f19fbac700 CRs-Fixed: 2186212
This commit is contained in:
parent
ac43d7f2ad
commit
34fda7994a
1 changed files with 5 additions and 3 deletions
|
|
@ -5143,9 +5143,11 @@ static void lim_process_sme_channel_change_request(tpAniSirGlobal mac_ctx,
|
|||
return;
|
||||
}
|
||||
|
||||
if (session_entry->currentOperChannel ==
|
||||
ch_change_req->targetChannel) {
|
||||
pe_err("target CH is same as current CH");
|
||||
if ((session_entry->currentOperChannel ==
|
||||
ch_change_req->targetChannel) &&
|
||||
(session_entry->ch_width == ch_change_req->ch_width)) {
|
||||
pe_err("Target channel and mode is same as current channel and mode channel %d and mode %d",
|
||||
session_entry->currentOperChannel, session_entry->ch_width);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue