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

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 54148e82409ee274f0d51eea8561680b1e31bcbc..55f870633a912e918256c879c34d41ac6c80ffe7 100644 (file)
@@ -1194,7 +1194,7 @@ static enum reset_type _rtl92e_rx_check_stuck(struct net_device *dev)
        return RESET_TYPE_NORESET;
 }
 
-static enum reset_type rtl819x_ifcheck_resetornot(struct net_device *dev)
+static enum reset_type _rtl92e_if_check_reset(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        enum reset_type TxResetType = RESET_TYPE_NORESET;
@@ -1525,7 +1525,7 @@ static void rtl819x_watchdog_wqcallback(void *data)
        spin_lock_irqsave(&priv->tx_lock, flags);
        if ((check_reset_cnt++ >= 3) && (!ieee->is_roaming) &&
            (!priv->RFChangeInProgress) && (!pPSC->bSwRfProcessing)) {
-               ResetType = rtl819x_ifcheck_resetornot(dev);
+               ResetType = _rtl92e_if_check_reset(dev);
                check_reset_cnt = 3;
        }
        spin_unlock_irqrestore(&priv->tx_lock, flags);