staging: r8188eu: remove HAL_DEF_CURRENT_ANTENNA
authorMichael Straube <straube.linux@gmail.com>
Tue, 5 Apr 2022 10:49:09 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Apr 2022 14:11:32 +0000 (16:11 +0200)
commit72b304d013e9f2b859c2a5795986018dd50d02c8
treea5a24d6dfd00cc7db966814c0bb8df19fcc68817
parent0b465150b3226e7b718c0e17aafb0269b53d3338
staging: r8188eu: remove HAL_DEF_CURRENT_ANTENNA

In order to get rid of the function GetHalDefVar8188EUsb(), remove
the HAL_DEF_CURRENT_ANTENNA case from it and move the functionality
into a new function. 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/20220405104910.9769-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h
drivers/staging/r8188eu/include/rtw_mlme.h