staging: rtl8192e: Rename rtl819x_TxCheckStuck
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:10 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:43 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl819x_TxCheckStuck to _rtl92e_tx_check_stuck.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 99aba40a5c24af17c00ad1898161dd56286b8441..91cfbaaac5222774a4dcb746d97d0ae2973f6d51 100644 (file)
@@ -1126,7 +1126,7 @@ static short _rtl92e_is_tx_queue_empty(struct net_device *dev)
        return 1;
 }
 
-static enum reset_type rtl819x_TxCheckStuck(struct net_device *dev)
+static enum reset_type _rtl92e_tx_check_stuck(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u8      QueueID;
@@ -1204,7 +1204,7 @@ static enum reset_type rtl819x_ifcheck_resetornot(struct net_device *dev)
        rfState = priv->rtllib->eRFPowerState;
 
        if (rfState == eRfOn)
-               TxResetType = rtl819x_TxCheckStuck(dev);
+               TxResetType = _rtl92e_tx_check_stuck(dev);
 
        if (rfState == eRfOn &&
            (priv->rtllib->iw_mode == IW_MODE_INFRA) &&