diff options
author | Denis Efremov <[email protected]> | 2019-09-26 10:31:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-10-01 08:22:44 +0200 |
commit | 22d67a01d8d89552b989c9651419824bb4111200 (patch) | |
tree | 4ed4493d7a07b7b89f4ce6f40092e50889abac5b /tools/perf/util/trace-event-scripting.c | |
parent | 955c1532a34305f2f780b47f0c40cc7c65500810 (diff) |
staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E()
It's incorrect to compare HighestRate with 0x0b twice in the following
manner "if (HighestRate > 0x0b) ... else if (HighestRate > 0x0b) ...". The
"else if" branch is constantly false. The second comparision should be
with 0x03 according to the max_rate_idx in ODM_RAInfo_Init().
Cc: Michael Straube <[email protected]>
Cc: [email protected]
Signed-off-by: Denis Efremov <[email protected]>
Acked-by: Larry Finger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions