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

staging: rtl8192e: Rename rtl8192_phy_RFConfig

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_RFConfig to rtl92e_config_phy.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d415dec
...@@ -863,7 +863,7 @@ bool rtl92e_start_adapter(struct net_device *dev) ...@@ -863,7 +863,7 @@ bool rtl92e_start_adapter(struct net_device *dev)
RT_TRACE(COMP_INIT, "Load Firmware finished!\n"); RT_TRACE(COMP_INIT, "Load Firmware finished!\n");
if (priv->ResetProgress == RESET_TYPE_NORESET) { if (priv->ResetProgress == RESET_TYPE_NORESET) {
RT_TRACE(COMP_INIT, "RF Config Started!\n"); RT_TRACE(COMP_INIT, "RF Config Started!\n");
rtStatus = rtl8192_phy_RFConfig(dev); rtStatus = rtl92e_config_phy(dev);
if (!rtStatus) { if (!rtStatus) {
netdev_info(dev, "RF Config failed\n"); netdev_info(dev, "RF Config failed\n");
return rtStatus; return rtStatus;
......
...@@ -689,7 +689,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel) ...@@ -689,7 +689,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel)
} }
} }
bool rtl8192_phy_RFConfig(struct net_device *dev) bool rtl92e_config_phy(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
bool rtStatus = true; bool rtStatus = true;
......
...@@ -85,7 +85,7 @@ extern bool rtl92e_check_bb_and_rf(struct net_device *dev, ...@@ -85,7 +85,7 @@ extern bool rtl92e_check_bb_and_rf(struct net_device *dev,
extern bool rtl92e_config_bb(struct net_device *dev); extern bool rtl92e_config_bb(struct net_device *dev);
extern void rtl92e_get_tx_power(struct net_device *dev); extern void rtl92e_get_tx_power(struct net_device *dev);
extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel); extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
extern bool rtl8192_phy_RFConfig(struct net_device *dev); extern bool rtl92e_config_phy(struct net_device *dev);
extern void rtl8192_phy_updateInitGain(struct net_device *dev); extern void rtl8192_phy_updateInitGain(struct net_device *dev);
extern u8 rtl92e_config_rf_path(struct net_device *dev, extern u8 rtl92e_config_rf_path(struct net_device *dev,
enum rf90_radio_path eRFPath); enum rf90_radio_path eRFPath);
......
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