Commit b1665a67 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl8192_up

Use naming schema found in other rtlwifi devices.
Rename rtl8192_up to _rtl92e_try_up.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 78e67df3
...@@ -100,7 +100,7 @@ static void _rtl92e_irq_tx_tasklet(struct r8192_priv *priv); ...@@ -100,7 +100,7 @@ static void _rtl92e_irq_tx_tasklet(struct r8192_priv *priv);
static void _rtl92e_irq_rx_tasklet(struct r8192_priv *priv); static void _rtl92e_irq_rx_tasklet(struct r8192_priv *priv);
static void rtl8192_cancel_deferred_work(struct r8192_priv *priv); static void rtl8192_cancel_deferred_work(struct r8192_priv *priv);
static int _rtl8192_up(struct net_device *dev, bool is_silent_reset); static int _rtl8192_up(struct net_device *dev, bool is_silent_reset);
static int rtl8192_up(struct net_device *dev); static int _rtl92e_try_up(struct net_device *dev);
static int _rtl92e_down(struct net_device *dev, bool shutdownrf); static int _rtl92e_down(struct net_device *dev, bool shutdownrf);
static void _rtl92e_restart(void *data); static void _rtl92e_restart(void *data);
...@@ -2194,13 +2194,13 @@ static int _rtl92e_open(struct net_device *dev) ...@@ -2194,13 +2194,13 @@ static int _rtl92e_open(struct net_device *dev)
int ret; int ret;
down(&priv->wx_sem); down(&priv->wx_sem);
ret = rtl8192_up(dev); ret = _rtl92e_try_up(dev);
up(&priv->wx_sem); up(&priv->wx_sem);
return ret; return ret;
} }
static int rtl8192_up(struct net_device *dev) static int _rtl92e_try_up(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment