staging: r8188eu: remove HW_VAR_AMPDU_FACTOR from SetHwReg8188EU()
authorMichael Straube <straube.linux@gmail.com>
Fri, 1 Jul 2022 21:07:53 +0000 (23:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 12:26:27 +0000 (14:26 +0200)
commit05710750974cff9c3a5b06beeb5ab3cbe64b95a3
tree7ca5d6853d79722938cece15109edbc5f6b77744
parenta27e2eb5e9febf16c503423424a67289a4eb03c3
staging: r8188eu: remove HW_VAR_AMPDU_FACTOR from SetHwReg8188EU()

Remove the case HW_VAR_AMPDU_FACTOR from SetHwReg8188EU() and move
the functionality to a static function in rtw_wlan_util.c. This is
part of the ongoing effort to get rid of SetHwReg8188EU().

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220701210753.8210-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_wlan_util.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h