mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Fix null ptr issue in send_conc_params_update()
Fix null ptr issue in lim_send_conc_params_update()
Change-Id: I032cf16a64bbc40f79add2268a75595b0e9eae3c
CRs-Fixed: 2996906
This commit is contained in:
parent
c121ccb460
commit
ef982aae5e
1 changed files with 3 additions and 0 deletions
|
|
@ -5393,6 +5393,9 @@ void lim_send_conc_params_update(void)
|
|||
uint8_t i;
|
||||
struct mac_context *mac = cds_get_context(QDF_MODULE_ID_PE);
|
||||
|
||||
if (!mac)
|
||||
return;
|
||||
|
||||
if (!mac->mlme_cfg->edca_params.enable_edca_params ||
|
||||
(policy_mgr_get_connection_count(mac->psoc) >
|
||||
MAX_NUMBER_OF_SINGLE_PORT_CONC_CONNECTIONS)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue