]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Rename rtl8192_HalRxCheckStuck
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:31 +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_HalRxCheckStuck to rtl92e_is_rx_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 7129110eb7a48f3a70c488a472bc3f3c251360fb..c015bea2db5c907128602e5f4d6aec784fe28e12 100644 (file)
@@ -2283,7 +2283,7 @@ void rtl8192_interrupt_recognized(struct net_device *dev, u32 *p_inta,
        write_nic_dword(dev, ISR, *p_inta);
 }
 
-bool rtl8192_HalRxCheckStuck(struct net_device *dev)
+bool rtl92e_is_rx_stuck(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u16               RegRxCounter = read_nic_word(dev, 0x130);
index a77da0a08e8e97f18cde2ea21713b19404d86e61..1182c9c08f188693754a8c2501d9dd0782896b74 100644 (file)
@@ -30,7 +30,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 rtl8192_HalRxCheckStuck(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);
 void rtl92e_enable_rx(struct net_device *dev);
index 87d4e46f5a1efb337fccf8f05543adc3ce65af6e..5cf8de937d456c323338ac80260ded1430fe458a 100644 (file)
@@ -61,7 +61,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .tx_enable                      = rtl92e_enable_tx,
        .interrupt_recognized           = rtl8192_interrupt_recognized,
        .TxCheckStuckHandler            = rtl8192_HalTxCheckStuck,
-       .RxCheckStuckHandler            = rtl8192_HalRxCheckStuck,
+       .RxCheckStuckHandler            = rtl92e_is_rx_stuck,
 };
 
 static struct pci_device_id rtl8192_pci_id_tbl[] = {