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

staging: rtl8192e: Rename PHY_RF8256_Config

Use naming schema found in other rtlwifi devices.
Rename PHY_RF8256_Config to rtl92e_config_rf.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 547e4c90
...@@ -232,7 +232,7 @@ static bool phy_RF8256_Config_ParaFile(struct net_device *dev) ...@@ -232,7 +232,7 @@ static bool phy_RF8256_Config_ParaFile(struct net_device *dev)
return false; return false;
} }
bool PHY_RF8256_Config(struct net_device *dev) bool rtl92e_config_rf(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#define RTL819X_TOTAL_RF_PATH 2 #define RTL819X_TOTAL_RF_PATH 2
extern void PHY_SetRF8256Bandwidth(struct net_device *dev, extern void PHY_SetRF8256Bandwidth(struct net_device *dev,
enum ht_channel_width Bandwidth); enum ht_channel_width Bandwidth);
extern bool PHY_RF8256_Config(struct net_device *dev); extern bool rtl92e_config_rf(struct net_device *dev);
extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel); extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel);
extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel); extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
......
...@@ -568,7 +568,7 @@ static bool rtl8192_BB_Config_ParaFile(struct net_device *dev) ...@@ -568,7 +568,7 @@ static bool rtl8192_BB_Config_ParaFile(struct net_device *dev)
(enum rf90_radio_path)0); (enum rf90_radio_path)0);
if (!rtStatus) { if (!rtStatus) {
RT_TRACE((COMP_ERR | COMP_PHY), RT_TRACE((COMP_ERR | COMP_PHY),
"PHY_RF8256_Config():Check PHY%d Fail!!\n", "rtl92e_config_rf():Check PHY%d Fail!!\n",
eCheckItem-1); eCheckItem-1);
return rtStatus; return rtStatus;
} }
...@@ -699,7 +699,7 @@ bool rtl8192_phy_RFConfig(struct net_device *dev) ...@@ -699,7 +699,7 @@ bool rtl8192_phy_RFConfig(struct net_device *dev)
case RF_8225: case RF_8225:
break; break;
case RF_8256: case RF_8256:
rtStatus = PHY_RF8256_Config(dev); rtStatus = rtl92e_config_rf(dev);
break; break;
case RF_8258: case RF_8258:
......
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