From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:13:38 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl819x_ifcheck_resetornot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=79fbe932318e87ca2a51983bbfcca101e260b2c3;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename rtl819x_ifcheck_resetornot Use naming schema found in other rtlwifi devices. Rename rtl819x_ifcheck_resetornot to _rtl92e_if_check_reset. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 54148e82409e..55f870633a91 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -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);