staging: r8188eu: remove HW_VAR_INITIAL_GAIN
authorMichael Straube <straube.linux@gmail.com>
Sat, 9 Apr 2022 12:06:24 +0000 (14:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:49:04 +0000 (15:49 +0200)
commit3e401185209a3dfd34383ebdf323518d4bf9ef91
tree1ff83f105871e6b6eee04f8d9e91deb837540fe1
parent047c76286457b9ab4270665ab459bc2dea53edb9
staging: r8188eu: remove HW_VAR_INITIAL_GAIN

Remove the HW_VAR_INITIAL_GAIN case from SetHwReg8188EU() and move its
functionality to a new static function in rtw_mlme_ext.c. This is part
of the ongoing effort to get rid of the unwanted hal layer.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220409120627.10633-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h