Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6a7125c authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723au: Remove unncessary wrapper PHY_RFConfig8723A()

parent 9464cac7
Loading
Loading
Loading
Loading
+0 −12
Original line number Original line Diff line number Diff line
@@ -839,18 +839,6 @@ PHY_BBConfig8723A(struct rtw_adapter *Adapter)
	return rtStatus;
	return rtStatus;
}
}


int
PHY_RFConfig8723A(struct rtw_adapter *Adapter)
{
	int rtStatus = _SUCCESS;

	/*  */
	/*  RF config */
	/*  */
	rtStatus = PHY_RF6052_Config8723A(Adapter);
	return rtStatus;
}

static void getTxPowerIndex(struct rtw_adapter *Adapter,
static void getTxPowerIndex(struct rtw_adapter *Adapter,
			    u8 channel,	u8 *cckPowerLevel,  u8 *ofdmPowerLevel)
			    u8 channel,	u8 *cckPowerLevel,  u8 *ofdmPowerLevel)
{
{
+2 −2
Original line number Original line Diff line number Diff line
@@ -718,9 +718,9 @@ static int rtl8723au_hal_init(struct rtw_adapter *Adapter)
	/*  Add for tx power by rate fine tune. We need to call the function after BB config. */
	/*  Add for tx power by rate fine tune. We need to call the function after BB config. */
	/*  Because the tx power by rate table is inited in BB config. */
	/*  Because the tx power by rate table is inited in BB config. */


	status = PHY_RFConfig8723A(Adapter);
	status = PHY_RF6052_Config8723A(Adapter);
	if (status == _FAIL) {
	if (status == _FAIL) {
		DBG_8723A("PHY_RFConfig8723A fault !!\n");
		DBG_8723A("PHY_RF6052_Config8723A failed!!\n");
		goto exit;
		goto exit;
	}
	}


+0 −1
Original line number Original line Diff line number Diff line
@@ -224,7 +224,6 @@ SetAntennaConfig92C(struct rtw_adapter *Adapter, u8 DefaultAnt);


/* MAC/BB/RF HAL config */
/* MAC/BB/RF HAL config */
int PHY_BBConfig8723A(struct rtw_adapter *Adapter);
int PHY_BBConfig8723A(struct rtw_adapter *Adapter);
int PHY_RFConfig8723A(struct rtw_adapter *Adapter);
s32 PHY_MACConfig8723A(struct rtw_adapter *padapter);
s32 PHY_MACConfig8723A(struct rtw_adapter *padapter);


#endif
#endif