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 53d845f250281498ca17d5b1536054742f8ef63b..daa0619cd7dc4352b89f1bbbb2fc358f720539f4 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 37b336310543a4bc96c113319c869bbccc2d78cd..1f39799683d94c60f1e43c5d37b205dcd788b35e 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 f48f2e2d256620f21025b4913be7a3d1f3e00acc..f05a88402855cace4d851c496476f0e0a4f84608 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;