staging: rtl8192e: Rename rtl819x_RxCheckStuck
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:12 +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_RxCheckStuck to _rtl92e_rx_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 8678f95411def49ffb438b586c4852083ffb1a3e..0e7a768040b90440a14dfa5f25c8e346b58039a5 100644 (file)
@@ -1182,7 +1182,7 @@ static enum reset_type _rtl92e_tx_check_stuck(struct net_device *dev)
        return RESET_TYPE_NORESET;
 }
 
-static enum reset_type rtl819x_RxCheckStuck(struct net_device *dev)
+static enum reset_type _rtl92e_rx_check_stuck(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -1209,7 +1209,7 @@ static enum reset_type rtl819x_ifcheck_resetornot(struct net_device *dev)
        if (rfState == eRfOn &&
            (priv->rtllib->iw_mode == IW_MODE_INFRA) &&
            (priv->rtllib->state == RTLLIB_LINKED))
-               RxResetType = rtl819x_RxCheckStuck(dev);
+               RxResetType = _rtl92e_rx_check_stuck(dev);
 
        if (TxResetType == RESET_TYPE_NORMAL ||
            RxResetType == RESET_TYPE_NORMAL) {