summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorAlok Kumar <alokkuma@codeaurora.org>2018-05-09 13:49:40 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-06-07 21:55:20 -0700
commit9c45d9da6c8b7d4d7f1bd805fffcc0c69bff07db (patch)
tree9a8926d157caae3c726d0887a445971a865403cb /scripts/stackusage
parentae71b0ca27f94daf3499ec61d745f73b0fc10567 (diff)
qcacld-3.0: Fix inadvertent logic error in htt_tx_desc_init
Currently, channel_freq is declared as uint16_t. But htt_get_channel_freq returns "int" which is assigned to "channel_freq". So, channel_freq != -1 is always true regardless of the values of its operands. Declare channel_freq as int and add the check if channel_freq is positive. Change-Id: I13ae35c1bee3cdf293227e320ede8d8cd2e968fe CRs-Fixed: 2233556
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions