Skip to content
Commit a4724ac1 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by improbir
Browse files

qcacld-3.0: Fix uninitialized tsf_op_resp usage on error



The return value from hdd_capture_tsf() isn't checked, and when it
returns an error, it won't initialize tsf_op_resp. Fix it by checking
the return value, and exiting when there's an error.

Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: default avatarJebaitedneko <Jebaitedneko@gmail.com>
Signed-off-by: default avatarForenche <prahul2003@gmail.com>
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
parent 1ed34efa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment