diff options
| author | Prithvi Tambewagh <activprithvi@gmail.com> | 2026-04-09 19:20:26 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-27 05:01:55 -0600 |
| commit | 8cc9d4a1b821231b13c8042f67f535e2993f3334 (patch) | |
| tree | 36224b258778429e8afa0e1002be3e8d57cac6a6 /tools/perf/scripts/python/netdev-times.py | |
| parent | ec400f25bbd164ae59c7846cb5f13fe0e7a44743 (diff) | |
staging: rtl8723bs: remove duplicate rate checks in PHY_GetTxPowerIndexBase()
The code previously checked (Rate >= MGN_MCS0 && Rate <= MGN_MCS7)
condition twice - once for the (BandWidth == CHANNEL_WIDTH_20) check and
once for the (BandWidth == CHANNEL_WIDTH_40) check. Fix if statement
formatting to move that if check as an outer if check to improve code
formatting.
Signed-off-by: Prithvi Tambewagh <activprithvi@gmail.com>
Reviewed-by: Luka Gejak <luka.gejak@linux.dev>
Link: https://patch.msgid.link/20260409135026.137904-6-activprithvi@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
