mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Fix crash observed on issuing iwpriv wifiX dl_loglevel <Val> command
On issuing iwpriv wifiX dl_loglevel <Val> command, there is a NULL pointer dereference crash observed. It is root caused due to improper reference to module_id_bitmap field, that needs to be corrected. Change-Id: I59ff4455c74452bb00caff125f84213a2e9d7742 CRs-Fixed: 1066323
This commit is contained in:
parent
8aa1696dae
commit
90cb4608b0
1 changed files with 3 additions and 1 deletions
|
|
@ -1345,7 +1345,9 @@ send_dbglog_cmd_non_tlv(wmi_unified_t wmi_handle,
|
|||
|
||||
cmd->config.cfgvalid[0] = dbglog_param->cfgvalid[0];
|
||||
cmd->config.cfgvalid[1] = dbglog_param->cfgvalid[1];
|
||||
cmd->config.config.mod_id[0] = dbglog_param->module_id_bitmap[0];
|
||||
qdf_mem_copy(&cmd->config.config.mod_id[0],
|
||||
dbglog_param->module_id_bitmap,
|
||||
sizeof(cmd->config.config.mod_id));
|
||||
cmd->config.config.dbg_config = dbglog_param->val;
|
||||
|
||||
status = wmi_unified_cmd_send(wmi_handle, osbuf,
|
||||
|
|
|
|||
Loading…
Reference in a new issue