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: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Jebaitedneko <Jebaitedneko@gmail.com> Signed-off-by: Forenche <prahul2003@gmail.com> Signed-off-by: improbir <ghosh_probir@yahoo.com>
Loading
Please register or sign in to comment