summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_stack.c
diff options
context:
space:
mode:
authorAnkita Bajaj <bankita@codeaurora.org>2019-05-02 19:29:09 +0530
committernshrivas <nshrivas@codeaurora.org>2019-05-23 20:12:10 -0700
commit20e6a7e94e9e13dac01a55bb12d03ce2e993fa7e (patch)
treeb5f6f097b0e79908bb2506816fc3dafa5a7d8577 /kernel/trace/trace_stack.c
parentd44be92c596babfdabd5a853ca64079adf9b19b6 (diff)
qcacld-3.0: Return proper error on request id mapping failure
When sending keepalive packets if there is failure in mapping request id to pattern id in function - hdd_map_req_id_to_pattern_id(), error code EINVAL is returned. This error code is misleading and not sufficient to inform the userspace that all available buffers are utilized and it should stop sending keepalive packets. Return proper error code if all available buffers are utilized and no buffers are available to address any new request to send keepalive packets. Change-Id: Ie54299a0a7ff43a7044316d641d19ce12ac047c8 CRs-Fixed: 2445981
Diffstat (limited to 'kernel/trace/trace_stack.c')
0 files changed, 0 insertions, 0 deletions