mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
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]>