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

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 f511fde62202f1960cc452589a9bc457e99f3d52..2b2660ad88d77e1b010fd4fbd169ff5b12827146 100644 (file)
@@ -2142,7 +2142,7 @@ void rtl92e_stop_adapter(struct net_device *dev, bool reset)
        skb_queue_purge(&priv->skb_queue);
 }
 
-void rtl8192_update_ratr_table(struct net_device *dev)
+void rtl92e_update_ratr_table(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rtllib_device *ieee = priv->rtllib;
index 10a16b6935d1fefcc10ba26ce5cf52b1f1b81ecc..6bd6b3a4fcea617ea35255124b3b1fd014541ee1 100644 (file)
@@ -52,5 +52,5 @@ void  rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry,
 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);
+void rtl92e_update_ratr_table(struct net_device *dev);
 #endif
index d7625bac16be2e3d0c76c9a5d67304bde568384d..08f2d727dc0f597fa5bf0799ec068e528885862a 100644 (file)
@@ -53,7 +53,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .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,
+       .update_ratr_table              = rtl92e_update_ratr_table,
        .irq_enable                     = rtl92e_enable_irq,
        .irq_disable                    = rtl92e_disable_irq,
        .irq_clear                      = rtl92e_clear_irq,