staging: rtl8192e: Rename rtl8192_HalTxCheckStuck
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:33 +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_HalTxCheckStuck to rtl92e_is_tx_stuck.

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 01059ef5eeaa6dbe30f2c2c4f45989d75261548c..8e50128bb1d9b5d21ac4fd0300e3cc0e41560b35 100644 (file)
@@ -2347,7 +2347,7 @@ bool rtl92e_is_rx_stuck(struct net_device *dev)
        return bStuck;
 }
 
-bool rtl8192_HalTxCheckStuck(struct net_device *dev)
+bool rtl92e_is_tx_stuck(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        bool    bStuck = false;
index 455eed397e821d20dde6f31f89042ec1a3ec427a..6c37c4051157d6e6e1c1ebdd4e5de982c1775489 100644 (file)
@@ -29,7 +29,7 @@
 
 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
-bool rtl8192_HalTxCheckStuck(struct net_device *dev);
+bool rtl92e_is_tx_stuck(struct net_device *dev);
 bool rtl92e_is_rx_stuck(struct net_device *dev);
 void rtl8192_interrupt_recognized(struct net_device *dev, u32 *p_inta,
                                  u32 *p_intb);
index 181c2840223e197708276d6e17634535d359177b..9601313069257c872b977596db111c19fc8efd17 100644 (file)
@@ -60,7 +60,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .rx_enable                      = rtl92e_enable_rx,
        .tx_enable                      = rtl92e_enable_tx,
        .interrupt_recognized           = rtl8192_interrupt_recognized,
-       .TxCheckStuckHandler            = rtl8192_HalTxCheckStuck,
+       .TxCheckStuckHandler            = rtl92e_is_tx_stuck,
        .RxCheckStuckHandler            = rtl92e_is_rx_stuck,
 };