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

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 c015bea2db5c907128602e5f4d6aec784fe28e12..01059ef5eeaa6dbe30f2c2c4f45989d75261548c 100644 (file)
@@ -2098,7 +2098,7 @@ bool rtl8192_rx_query_status_desc(struct net_device *dev,
        return true;
 }
 
-void rtl8192_halt_adapter(struct net_device *dev, bool reset)
+void rtl92e_stop_adapter(struct net_device *dev, bool reset)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        int i;
index 1182c9c08f188693754a8c2501d9dd0782896b74..455eed397e821d20dde6f31f89042ec1a3ec427a 100644 (file)
@@ -56,6 +56,6 @@ bool rtl8192_rx_query_status_desc(struct net_device *dev,
                                  struct rtllib_rx_stats *stats,
                                  struct rx_desc *pdesc,
                                  struct sk_buff *skb);
-void rtl8192_halt_adapter(struct net_device *dev, bool reset);
+void rtl92e_stop_adapter(struct net_device *dev, bool reset);
 void rtl8192_update_ratr_table(struct net_device *dev);
 #endif
index 5cf8de937d456c323338ac80260ded1430fe458a..181c2840223e197708276d6e17634535d359177b 100644 (file)
@@ -52,7 +52,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .tx_fill_cmd_descriptor         = rtl8192_tx_fill_cmd_desc,
        .rx_query_status_descriptor     = rtl8192_rx_query_status_desc,
        .rx_command_packet_handler = NULL,
-       .stop_adapter                   = rtl8192_halt_adapter,
+       .stop_adapter                   = rtl92e_stop_adapter,
        .update_ratr_table              = rtl8192_update_ratr_table,
        .irq_enable                     = rtl92e_enable_irq,
        .irq_disable                    = rtl92e_disable_irq,