]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: rtl8192e: Rename rtl819x_UpdateRxPktTimeStamp
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:24 +0000 (19:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:26:21 +0000 (21:26 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl819x_UpdateRxPktTimeStamp to rtl92e_update_rx_pkt_timestamp.

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
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.h

index 2f64a0fa512c6955f92e750675192fd1f6dfd4f7..84f02befc8e86e48712e95b14382e6f88550cfc7 100644 (file)
@@ -2071,7 +2071,7 @@ bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
        stats->TimeStampLow = pDrvInfo->TSFL;
        stats->TimeStampHigh = rtl92e_readl(dev, TSFR+4);
 
-       rtl819x_UpdateRxPktTimeStamp(dev, stats);
+       rtl92e_update_rx_pkt_timestamp(dev, stats);
 
        if ((stats->RxBufShift + stats->RxDrvInfoSize) > 0)
                stats->bShift = 1;
index f9bf923cf8c7dd1f80fe47730d94f70462bbf89e..0ca62edca3d1a81f914eb947b7614a508ff2b987 100644 (file)
@@ -1983,8 +1983,8 @@ void rtl92e_reset_desc_ring(struct net_device *dev)
        spin_unlock_irqrestore(&priv->irq_th_lock, flags);
 }
 
-void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev,
-                                 struct rtllib_rx_stats *stats)
+void rtl92e_update_rx_pkt_timestamp(struct net_device *dev,
+                                   struct rtllib_rx_stats *stats)
 {
        struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
 
index c9599a9852ee80e0e80cdabf8a591c67059fec5a..793013df84787d2bf5c7dd55bdfe0532fb3a1a47 100644 (file)
@@ -603,8 +603,8 @@ void rtl92e_irq_enable(struct net_device *dev);
 void rtl92e_config_rate(struct net_device *dev, u16 *rate_config);
 void rtl92e_irq_disable(struct net_device *dev);
 
-void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev,
-                                 struct rtllib_rx_stats *stats);
+void rtl92e_update_rx_pkt_timestamp(struct net_device *dev,
+                                   struct rtllib_rx_stats *stats);
 long rtl92e_translate_to_dbm(struct r8192_priv *priv, u8 signal_strength_index);
 void rtl819x_update_rxsignalstatistics8190pci(struct r8192_priv *priv,
                                      struct rtllib_rx_stats *pprevious_stats);