Commit 7fcd5936 authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: r8188eu: remove unused parameters from _BeaconFunctionEnable()

The parameters 'Enable' and 'Linked' of _BeaconFunctionEnable() are
unused. Remove them.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220908130915.8406-2-straube.linux@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e2e8e82e
...@@ -496,8 +496,7 @@ static int _InitBeaconParameters(struct adapter *Adapter) ...@@ -496,8 +496,7 @@ static int _InitBeaconParameters(struct adapter *Adapter)
return 0; return 0;
} }
static void _BeaconFunctionEnable(struct adapter *Adapter, static void _BeaconFunctionEnable(struct adapter *Adapter)
bool Enable, bool Linked)
{ {
rtw_write8(Adapter, REG_BCN_CTRL, (BIT(4) | BIT(3) | BIT(1))); rtw_write8(Adapter, REG_BCN_CTRL, (BIT(4) | BIT(3) | BIT(1)));
...@@ -1043,7 +1042,7 @@ void SetBeaconRelatedRegisters8188EUsb(struct adapter *adapt) ...@@ -1043,7 +1042,7 @@ void SetBeaconRelatedRegisters8188EUsb(struct adapter *adapt)
rtw_write8(adapt, REG_RXTSF_OFFSET_CCK, 0x50); rtw_write8(adapt, REG_RXTSF_OFFSET_CCK, 0x50);
rtw_write8(adapt, REG_RXTSF_OFFSET_OFDM, 0x50); rtw_write8(adapt, REG_RXTSF_OFFSET_OFDM, 0x50);
_BeaconFunctionEnable(adapt, true, true); _BeaconFunctionEnable(adapt);
rtw_resume_tx_beacon(adapt); rtw_resume_tx_beacon(adapt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment