mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Wait for Nss update only in the case of beaconing modes
Ensure that the wait for Nss update happens only in the case of beaconing modes. Nss update request is done only in the case of beaconing modes. As part of Nss update callback, check for Nss update is being done for all modes due to which subsequent hardware mode change is not getting initiated. Fix the same by ensuring that the check for Nss update happens only in the case of beaconing modes. Change-Id: Icf975661236dba54d2948484445b0509e15f1da0 CRs-Fixed: 1011483
This commit is contained in:
parent
f21b3b64fd
commit
009d6cfbe7
1 changed files with 10 additions and 2 deletions
|
|
@ -5976,7 +5976,11 @@ bool cds_wait_for_nss_update(uint8_t action)
|
|||
[conn_index].tx_spatial_stream == 2) &&
|
||||
(conc_connection_list
|
||||
[conn_index].rx_spatial_stream == 2) &&
|
||||
conc_connection_list[conn_index].in_use) {
|
||||
conc_connection_list[conn_index].in_use &&
|
||||
((conc_connection_list[conn_index].mode ==
|
||||
CDS_P2P_GO_MODE) ||
|
||||
(conc_connection_list[conn_index].mode ==
|
||||
CDS_SAP_MODE))) {
|
||||
wait = true;
|
||||
break;
|
||||
}
|
||||
|
|
@ -5991,7 +5995,11 @@ bool cds_wait_for_nss_update(uint8_t action)
|
|||
[conn_index].tx_spatial_stream == 1) &&
|
||||
(conc_connection_list
|
||||
[conn_index].rx_spatial_stream == 1) &&
|
||||
conc_connection_list[conn_index].in_use) {
|
||||
conc_connection_list[conn_index].in_use &&
|
||||
((conc_connection_list[conn_index].mode ==
|
||||
CDS_P2P_GO_MODE) ||
|
||||
(conc_connection_list[conn_index].mode ==
|
||||
CDS_SAP_MODE))) {
|
||||
wait = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue