staging: rtl8192e: Rename PHY_SetRF8256CCKTxPower
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:16 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:09 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename PHY_SetRF8256CCKTxPower to rtl92e_set_cck_tx_power.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c

index 53d845f..daa0619 100644 (file)
@@ -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);
index 37b3363..1f39799 100644 (file)
@@ -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
index f48f2e2..f05a884 100644 (file)
@@ -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;