staging: rtl8192e: Rename rtl8192_TranslateRxSignalStuff
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:59 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:51 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_TranslateRxSignalStuff to _rtl92e_translate_rx_signal_stats.

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

index db3126b0858bcd2cdbda801c26322eddcd89a1c8..2df986ea1ece7df743b8f2a8b6f8f69c1b2af5f5 100644 (file)
@@ -1861,11 +1861,11 @@ static void _rtl92e_process_phyinfo(struct r8192_priv *priv, u8 *buffer,
        }
 }
 
-static void rtl8192_TranslateRxSignalStuff(struct net_device *dev,
-                                          struct sk_buff *skb,
-                                          struct rtllib_rx_stats *pstats,
-                                          struct rx_desc *pdesc,
-                                          struct rx_fwinfo *pdrvinfo)
+static void _rtl92e_translate_rx_signal_stats(struct net_device *dev,
+                                             struct sk_buff *skb,
+                                             struct rtllib_rx_stats *pstats,
+                                             struct rx_desc *pdesc,
+                                             struct rx_fwinfo *pdrvinfo)
 {
        struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
        bool bpacket_match_bssid, bpacket_toself;
@@ -2073,8 +2073,7 @@ bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
 
        stats->RxIs40MHzPacket = pDrvInfo->BW;
 
-       rtl8192_TranslateRxSignalStuff(dev, skb, stats, pdesc,
-                                      pDrvInfo);
+       _rtl92e_translate_rx_signal_stats(dev, skb, stats, pdesc, pDrvInfo);
 
        if (pDrvInfo->FirstAGGR == 1 || pDrvInfo->PartAggr == 1)
                RT_TRACE(COMP_RXDESC,