qcacld-3.0: Fix vdev_id when resetting APF packet filter
In hdd_set_reset_apf_offload, vdev_id is not assigned before sending reset packet filter command. Change-Id: If8c9297f19e19eba01b4415144304b9f744a5de9 CRs-Fixed: 2496035
This commit is contained in:
parent
e979c2c500
commit
f97d28b552
@ -241,6 +241,8 @@ static int hdd_set_reset_apf_offload(struct hdd_context *hdd_ctx,
|
||||
ret = -EINVAL;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
apf_set_offload.session_id = adapter->vdev_id;
|
||||
apf_set_offload.total_length = nla_get_u32(tb[APF_PACKET_SIZE]);
|
||||
|
||||
if (!apf_set_offload.total_length) {
|
||||
@ -265,7 +267,6 @@ static int hdd_set_reset_apf_offload(struct hdd_context *hdd_ctx,
|
||||
|
||||
apf_set_offload.current_length = prog_len;
|
||||
nla_memcpy(apf_set_offload.program, tb[APF_PROGRAM], prog_len);
|
||||
apf_set_offload.session_id = adapter->vdev_id;
|
||||
|
||||
hdd_debug("APF set instructions");
|
||||
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_HDD, QDF_TRACE_LEVEL_DEBUG,
|
||||
|
Loading…
Reference in New Issue
Block a user