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

staging: rtl8192e: Rename rtl8192_hw_sleep_down

Use naming schema found in other rtlwifi devices.
Rename rtl8192_hw_sleep_down to _rtl92e_hw_sleep.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 79f387e7
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "r8192E_cmdpkt.h" #include "r8192E_cmdpkt.h"
#include <linux/jiffies.h> #include <linux/jiffies.h>
static void rtl8192_hw_sleep_down(struct net_device *dev) static void _rtl92e_hw_sleep(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
unsigned long flags = 0; unsigned long flags = 0;
...@@ -39,7 +39,7 @@ static void rtl8192_hw_sleep_down(struct net_device *dev) ...@@ -39,7 +39,7 @@ static void rtl8192_hw_sleep_down(struct net_device *dev)
if (priv->RFChangeInProgress) { if (priv->RFChangeInProgress) {
spin_unlock_irqrestore(&priv->rf_ps_lock, flags); spin_unlock_irqrestore(&priv->rf_ps_lock, flags);
RT_TRACE(COMP_DBG, RT_TRACE(COMP_DBG,
"rtl8192_hw_sleep_down(): RF Change in progress!\n"); "_rtl92e_hw_sleep(): RF Change in progress!\n");
return; return;
} }
spin_unlock_irqrestore(&priv->rf_ps_lock, flags); spin_unlock_irqrestore(&priv->rf_ps_lock, flags);
...@@ -54,7 +54,7 @@ void rtl92e_hw_sleep_wq(void *data) ...@@ -54,7 +54,7 @@ void rtl92e_hw_sleep_wq(void *data)
struct rtllib_device, hw_sleep_wq); struct rtllib_device, hw_sleep_wq);
struct net_device *dev = ieee->dev; struct net_device *dev = ieee->dev;
rtl8192_hw_sleep_down(dev); _rtl92e_hw_sleep(dev);
} }
void rtl92e_hw_wakeup(struct net_device *dev) void rtl92e_hw_wakeup(struct net_device *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