staging: rtl8192e: Rename rtl8192_rx_query_status_desc
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:37 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:14 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_rx_query_status_desc to rtl92e_get_rx_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
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 7ae21d18e96dc4017cfe31d69accb8048c649a76..62fff60754a5305d184299dc5bf4bcda9a32fc2e 100644 (file)
@@ -2025,10 +2025,8 @@ static void rtl8192_UpdateReceivedRateHistogramStatistics(
        priv->stats.received_rate_histogram[rcvType][rateIndex]++;
 }
 
-bool rtl8192_rx_query_status_desc(struct net_device *dev,
-                                 struct rtllib_rx_stats *stats,
-                                 struct rx_desc *pdesc,
-                                 struct sk_buff *skb)
+bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
+                        struct rx_desc *pdesc, struct sk_buff *skb)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rx_fwinfo *pDrvInfo = NULL;
index 4957824131bcdbc393b4d66a11b50a479dad215e..404125eac358881f7690c770ed5e980d3a1eba29 100644 (file)
@@ -51,10 +51,8 @@ void  rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc,
 void  rtl8192_tx_fill_cmd_desc(struct net_device *dev,
                               struct tx_desc_cmd *entry,
                               struct cb_desc *cb_desc, struct sk_buff *skb);
-bool rtl8192_rx_query_status_desc(struct net_device *dev,
-                                 struct rtllib_rx_stats *stats,
-                                 struct rx_desc *pdesc,
-                                 struct sk_buff *skb);
+bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
+                        struct rx_desc *pdesc, struct sk_buff *skb);
 void rtl92e_stop_adapter(struct net_device *dev, bool reset);
 void rtl8192_update_ratr_table(struct net_device *dev);
 #endif
index 2149e4de8396776d72e17158f62541bca252fa19..e364f2a927d3c22408e8293af38bebc061b1794d 100644 (file)
@@ -50,7 +50,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .link_change                    = rtl92e_link_change,
        .tx_fill_descriptor             = rtl8192_tx_fill_desc,
        .tx_fill_cmd_descriptor         = rtl8192_tx_fill_cmd_desc,
-       .rx_query_status_descriptor     = rtl8192_rx_query_status_desc,
+       .rx_query_status_descriptor     = rtl92e_get_rx_stats,
        .rx_command_packet_handler = NULL,
        .stop_adapter                   = rtl92e_stop_adapter,
        .update_ratr_table              = rtl8192_update_ratr_table,