]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Rename PHY_SetRF8256Bandwidth
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:15 +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_SetRF8256Bandwidth to rtl92e_set_bandwidth.

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 3b8240becd10c3c812e5350c5d8e55f86dd025a9..53d845f250281498ca17d5b1536054742f8ef63b 100644 (file)
@@ -22,8 +22,8 @@
 #include "r8192E_phy.h"
 #include "r8190P_rtl8256.h"
 
-void PHY_SetRF8256Bandwidth(struct net_device *dev,
-                           enum ht_channel_width Bandwidth)
+void rtl92e_set_bandwidth(struct net_device *dev,
+                         enum ht_channel_width Bandwidth)
 {
        u8      eRFPath;
        struct r8192_priv *priv = rtllib_priv(dev);
index 6cd0c2ef63dedc0fe4e33e12f08dadd3e49b3d2c..37b336310543a4bc96c113319c869bbccc2d78cd 100644 (file)
@@ -21,8 +21,8 @@
 #define RTL8225H
 
 #define RTL819X_TOTAL_RF_PATH 2
-extern void PHY_SetRF8256Bandwidth(struct net_device *dev,
-                                  enum ht_channel_width Bandwidth);
+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 PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
index 032b7dd2ef54f43123af32cbc7aa29b739d15df6..f48f2e2d256620f21025b4913be7a3d1f3e00acc 100644 (file)
@@ -1249,7 +1249,7 @@ static void rtl8192_SetBWModeWorkItem(struct net_device *dev)
                break;
 
        case RF_8256:
-               PHY_SetRF8256Bandwidth(dev, priv->CurrentChannelBW);
+               rtl92e_set_bandwidth(dev, priv->CurrentChannelBW);
                break;
 
        case RF_8258: