Commit 03aa3ec0 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove HW_VAR_MEDIA_STATUS* usage

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ff5d82e4
......@@ -304,14 +304,9 @@ void Switch_DM_Func23a(struct rtw_adapter *padapter, unsigned long mode, u8 enab
rtw_hal_set_hwreg23a(padapter, HW_VAR_DM_FUNC_CLR, (u8 *)(&mode));
}
static void Set_NETYPE0_MSR(struct rtw_adapter *padapter, u8 type)
{
rtw_hal_set_hwreg23a(padapter, HW_VAR_MEDIA_STATUS, (u8 *)(&type));
}
void Set_MSR23a(struct rtw_adapter *padapter, u8 type)
{
Set_NETYPE0_MSR(padapter, type);
rtl8723a_set_media_status(padapter, type);
}
inline u8 rtw_get_oper_ch23a(struct rtw_adapter *adapter)
......
......@@ -3135,14 +3135,6 @@ void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
u32 *val32 = (u32 *)val;
switch (variable) {
case HW_VAR_MEDIA_STATUS:
rtl8723a_set_media_status(padapter, *val);
break;
case HW_VAR_MEDIA_STATUS1:
rtl8723a_set_media_status1(padapter, *val);
break;
case HW_VAR_SET_OPMODE:
hw_var_set_opmode(padapter, *val);
break;
......
......@@ -36,8 +36,6 @@ enum _CHIP_TYPE {
};
enum HW_VARIABLES {
HW_VAR_MEDIA_STATUS,
HW_VAR_MEDIA_STATUS1,
HW_VAR_SET_OPMODE,
HW_VAR_MAC_ADDR,
HW_VAR_BSSID,
......
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