Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
pwrpriv->rpwm = pslv;
- rtw_hal_set_hwreg23a(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm));
+ rtl8723a_set_rpwm(padapter, rpwm);
pwrpriv->tog += 0x80;
pwrpriv->cpwm = pslv;
static void SetHwReg8723AU(struct rtw_adapter *Adapter, u8 variable, u8 *val)
{
switch (variable) {
- case HW_VAR_SET_RPWM:
- rtl8723a_set_rpwm(Adapter, *val);
- break;
case HW_VAR_TRIGGER_GPIO_0:
rtl8723au_trigger_gpio_0(Adapter);
break;
HW_VAR_DM_FUNC_SET,
HW_VAR_DM_FUNC_CLR,
HW_VAR_CAM_READ,
- HW_VAR_SET_RPWM,
HW_VAR_FWLPS_RF_ON,
HW_VAR_TDLS_WRCR,
HW_VAR_TDLS_INIT_CH_SEN,