[PATCH v2 0/3] staging: r8188eu: clean up rtw_rf.c

From: Michael Straube
Date: Tue Feb 22 2022 - 03:29:00 EST


This set removes 5 GHz frequencies from the channel-frequency map in
rtw_rf.c and simplifies the rtw_ch2freq() function.

Tested on x86_64 with Inter-Tech DMG-02.

v2:
Changed the commit message of patch 1/3.
Added a check to avoid out of bounds array access in patch 2/3.

Michael Straube (3):
staging: r8188eu: remove 5 GHz channels from ch_freq_map
staging: r8188eu: refactor rtw_ch2freq()
staging: r8188eu: clean up rtw_rf.c

drivers/staging/r8188eu/core/rtw_rf.c | 62 ++++++++-------------------
1 file changed, 18 insertions(+), 44 deletions(-)

--
2.35.1