mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge "qcacld-3.0: Fix csr_check_concurrent_channel_overlap() style issues" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
f5c79b1aa3
1 changed files with 3 additions and 6 deletions
|
|
@ -1278,16 +1278,14 @@ uint16_t csr_check_concurrent_channel_overlap(tpAniSirGlobal mac_ctx,
|
|||
(intf_ch > 14 && sap_ch > 14))) {
|
||||
if (policy_mgr_is_dbs_enable(mac_ctx->psoc))
|
||||
intf_ch = 0;
|
||||
}
|
||||
else if (cc_switch_mode ==
|
||||
} else if (cc_switch_mode ==
|
||||
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL) {
|
||||
status =
|
||||
policy_mgr_get_sap_mandatory_channel(
|
||||
mac_ctx->psoc,
|
||||
(uint32_t *)&intf_ch);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
sme_err("no mandatory channel");
|
||||
}
|
||||
}
|
||||
} else if ((intf_ch == sap_ch) && (cc_switch_mode ==
|
||||
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL)) {
|
||||
|
|
@ -1295,9 +1293,8 @@ uint16_t csr_check_concurrent_channel_overlap(tpAniSirGlobal mac_ctx,
|
|||
status =
|
||||
policy_mgr_get_sap_mandatory_channel(
|
||||
mac_ctx->psoc, (uint32_t *)&intf_ch);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
sme_err("no mandatory channel");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue