Commit abfda588 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename PHY_SetRF8256CCKTxPower

Use naming schema found in other rtlwifi devices.
Rename PHY_SetRF8256CCKTxPower to rtl92e_set_cck_tx_power.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 766b0128
......@@ -240,7 +240,7 @@ bool rtl92e_config_rf(struct net_device *dev)
return phy_RF8256_Config_ParaFile(dev);
}
void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel)
void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel)
{
u32 TxAGC = 0;
struct r8192_priv *priv = rtllib_priv(dev);
......
......@@ -24,7 +24,7 @@
extern void rtl92e_set_bandwidth(struct net_device *dev,
enum ht_channel_width Bandwidth);
extern bool rtl92e_config_rf(struct net_device *dev);
extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel);
extern void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel);
extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
#endif
......@@ -679,7 +679,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel)
case RF_8225:
break;
case RF_8256:
PHY_SetRF8256CCKTxPower(dev, powerlevel);
rtl92e_set_cck_tx_power(dev, powerlevel);
PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G);
break;
case RF_8258:
......@@ -794,7 +794,7 @@ static void rtl8192_SetTxPowerLevel(struct net_device *dev, u8 channel)
break;
case RF_8256:
PHY_SetRF8256CCKTxPower(dev, powerlevel);
rtl92e_set_cck_tx_power(dev, powerlevel);
PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G);
break;
......
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