qcacld-3.0: Fill header for HANG_EVT_TAG_LEGACY_MAC hang data
Currently while filling in the hang event data for the event HANG_EVT_TAG_LEGACY_MAC, the header is not getting filled in. This can cause the data to go out of sync. Add the header to the data before filling in the values. Change-Id: Iedcb39623276e5f04ef9ffb5b3284e67f6c89312 CRs-Fixed: 2678949
This commit is contained in:

committed by
nshrivas

parent
ecade686b9
commit
1de1ca890f
@@ -768,6 +768,8 @@ static int pe_hang_event_notifier_call(struct notifier_block *block,
|
||||
|
||||
pe_data = (pe_hang_data->hang_data + pe_hang_data->offset);
|
||||
cmd = (struct pe_hang_event_fixed_param *)pe_data;
|
||||
QDF_HANG_EVT_SET_HDR(&cmd->tlv_header, HANG_EVT_TAG_LEGACY_MAC,
|
||||
QDF_HANG_GET_STRUCT_TLVLEN(*cmd));
|
||||
cmd->vdev_id = session->vdev_id;
|
||||
cmd->limmlmstate = session->limMlmState;
|
||||
cmd->limprevmlmstate = session->limPrevMlmState;
|
||||
|
Reference in New Issue
Block a user