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

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

index 5d493c6b56ea94fd3b363aaeaf4797660e00326c..7a3e34f1c857f3a907364c10fae6f8db2c388d3d 100644 (file)
@@ -1295,7 +1295,7 @@ void rtl8192_SetBWMode(struct net_device *dev, enum ht_channel_width Bandwidth,
 
 }
 
-void InitialGain819xPci(struct net_device *dev, u8 Operation)
+void rtl92e_init_gain(struct net_device *dev, u8 Operation)
 {
 #define SCAN_RX_INITIAL_GAIN   0x17
 #define POWER_DETECTION_TH     0x08
index ef85587c6a12a1663a07c557caf0acedf240400a..f4bf9748a28c7a10b1c2a58b3b84d9b61d4fb132 100644 (file)
@@ -95,7 +95,7 @@ extern u8 rtl8192_phy_SwChnl(struct net_device *dev, u8 channel);
 extern void rtl8192_SetBWMode(struct net_device *dev,
                              enum ht_channel_width Bandwidth,
                              enum ht_extchnl_offset Offset);
-extern void InitialGain819xPci(struct net_device *dev, u8 Operation);
+extern void rtl92e_init_gain(struct net_device *dev, u8 Operation);
 
 extern void PHY_SetRtl8192eRfOff(struct net_device *dev);
 
index 08f2d727dc0f597fa5bf0799ec068e528885862a..c3c578dfe6a6e9674d59840777492be988fbe8af 100644 (file)
@@ -893,7 +893,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
        priv->rtllib->SetHwRegHandler = rtl92e_set_reg;
        priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode;
        priv->rtllib->SetFwCmdHandler = NULL;
-       priv->rtllib->InitialGainHandler = InitialGain819xPci;
+       priv->rtllib->InitialGainHandler = rtl92e_init_gain;
        priv->rtllib->rtllib_ips_leave_wq = rtllib_ips_leave_wq;
        priv->rtllib->rtllib_ips_leave = rtllib_ips_leave;