mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "qcacld-3.0: If mac_ctx is NULL, do not use it for logging purpose" into wlan-cld3.driver.lnx.1.1-dev
This commit is contained in:
commit
d48c54a4e8
1 changed files with 4 additions and 4 deletions
|
|
@ -13623,13 +13623,13 @@ static QDF_STATUS csr_set_ldpc_exception(tpAniSirGlobal mac_ctx,
|
|||
bool usr_cfg_rx_ldpc)
|
||||
{
|
||||
if (!mac_ctx) {
|
||||
sms_log(mac_ctx, LOGE,
|
||||
FL("mac_ctx is NULL"));
|
||||
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
|
||||
"mac_ctx is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
if (!session) {
|
||||
sms_log(mac_ctx, LOGE,
|
||||
FL("session is NULL"));
|
||||
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
|
||||
"session is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
if (usr_cfg_rx_ldpc && wma_is_rx_ldpc_supported_for_channel(channel)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue