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

staging: rtl8192e: Rename rtl8192_down

Use naming schema found in other rtlwifi devices.
Rename rtl8192_down to _rtl92e_down.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27cbba60
...@@ -101,7 +101,7 @@ static void _rtl92e_irq_rx_tasklet(struct r8192_priv *priv); ...@@ -101,7 +101,7 @@ 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 rtl8192_up(struct net_device *dev);
static int rtl8192_down(struct net_device *dev, bool shutdownrf); static int _rtl92e_down(struct net_device *dev, bool shutdownrf);
static void rtl8192_restart(void *data); static void rtl8192_restart(void *data);
/**************************************************************************** /****************************************************************************
...@@ -2222,7 +2222,7 @@ static int _rtl92e_close(struct net_device *dev) ...@@ -2222,7 +2222,7 @@ static int _rtl92e_close(struct net_device *dev)
down(&priv->wx_sem); down(&priv->wx_sem);
ret = rtl8192_down(dev, true); ret = _rtl92e_down(dev, true);
up(&priv->wx_sem); up(&priv->wx_sem);
...@@ -2230,7 +2230,7 @@ static int _rtl92e_close(struct net_device *dev) ...@@ -2230,7 +2230,7 @@ static int _rtl92e_close(struct net_device *dev)
} }
static int rtl8192_down(struct net_device *dev, bool shutdownrf) static int _rtl92e_down(struct net_device *dev, bool shutdownrf)
{ {
if (rtl8192_sta_down(dev, shutdownrf) == -1) if (rtl8192_sta_down(dev, shutdownrf) == -1)
return -1; return -1;
...@@ -2708,7 +2708,7 @@ static void rtl8192_pci_disconnect(struct pci_dev *pdev) ...@@ -2708,7 +2708,7 @@ static void rtl8192_pci_disconnect(struct pci_dev *pdev)
del_timer_sync(&priv->gpio_polling_timer); del_timer_sync(&priv->gpio_polling_timer);
cancel_delayed_work(&priv->gpio_change_rf_wq); cancel_delayed_work(&priv->gpio_change_rf_wq);
priv->polling_timer_on = 0; priv->polling_timer_on = 0;
rtl8192_down(dev, true); _rtl92e_down(dev, true);
rtl92e_dm_deinit(dev); rtl92e_dm_deinit(dev);
if (priv->pFirmware) { if (priv->pFirmware) {
vfree(priv->pFirmware); vfree(priv->pFirmware);
......
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