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

staging: rtl8192e: Rename rtl8192_phy_getTxPower

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_getTxPower to rtl92e_get_tx_power.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2504c113
...@@ -831,7 +831,7 @@ bool rtl92e_start_adapter(struct net_device *dev) ...@@ -831,7 +831,7 @@ bool rtl92e_start_adapter(struct net_device *dev)
rtl92e_config_mac(dev); rtl92e_config_mac(dev);
if (priv->card_8192_version > (u8) VERSION_8190_BD) { if (priv->card_8192_version > (u8) VERSION_8190_BD) {
rtl8192_phy_getTxPower(dev); rtl92e_get_tx_power(dev);
rtl8192_phy_setTxPower(dev, priv->chan); rtl8192_phy_setTxPower(dev, priv->chan);
} }
......
...@@ -604,7 +604,7 @@ bool rtl92e_config_bb(struct net_device *dev) ...@@ -604,7 +604,7 @@ bool rtl92e_config_bb(struct net_device *dev)
return rtl8192_BB_Config_ParaFile(dev); return rtl8192_BB_Config_ParaFile(dev);
} }
void rtl8192_phy_getTxPower(struct net_device *dev) void rtl92e_get_tx_power(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
......
...@@ -83,7 +83,7 @@ extern bool rtl92e_check_bb_and_rf(struct net_device *dev, ...@@ -83,7 +83,7 @@ extern bool rtl92e_check_bb_and_rf(struct net_device *dev,
enum hw90_block CheckBlock, enum hw90_block CheckBlock,
enum rf90_radio_path eRFPath); enum rf90_radio_path eRFPath);
extern bool rtl92e_config_bb(struct net_device *dev); extern bool rtl92e_config_bb(struct net_device *dev);
extern void rtl8192_phy_getTxPower(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 rtl8192_phy_RFConfig(struct net_device *dev);
extern void rtl8192_phy_updateInitGain(struct net_device *dev); extern void rtl8192_phy_updateInitGain(struct net_device *dev);
......
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