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

staging: rtl8192e: Rename rtl8192_hw_to_sleep

Use naming schema found in other rtlwifi devices.
Rename rtl8192_hw_to_sleep to rtl92e_enter_sleep.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bcdcc1ea
...@@ -883,7 +883,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev) ...@@ -883,7 +883,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
priv->rtllib->stop_send_beacons = rtl8192_stop_beacon; priv->rtllib->stop_send_beacons = rtl8192_stop_beacon;
priv->rtllib->sta_wake_up = rtl8192_hw_wakeup; priv->rtllib->sta_wake_up = rtl8192_hw_wakeup;
priv->rtllib->enter_sleep_state = rtl8192_hw_to_sleep; priv->rtllib->enter_sleep_state = rtl92e_enter_sleep;
priv->rtllib->ps_is_queue_empty = rtl8192_is_tx_queue_empty; priv->rtllib->ps_is_queue_empty = rtl8192_is_tx_queue_empty;
priv->rtllib->GetNmodeSupportBySecCfg = rtl92e_get_nmode_support_by_sec; priv->rtllib->GetNmodeSupportBySecCfg = rtl92e_get_nmode_support_by_sec;
......
...@@ -88,7 +88,7 @@ void rtl8192_hw_wakeup_wq(void *data) ...@@ -88,7 +88,7 @@ void rtl8192_hw_wakeup_wq(void *data)
#define MIN_SLEEP_TIME 50 #define MIN_SLEEP_TIME 50
#define MAX_SLEEP_TIME 10000 #define MAX_SLEEP_TIME 10000
void rtl8192_hw_to_sleep(struct net_device *dev, u64 time) void rtl92e_enter_sleep(struct net_device *dev, u64 time)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
......
...@@ -32,7 +32,7 @@ struct net_device; ...@@ -32,7 +32,7 @@ struct net_device;
#define RT_CHECK_FOR_HANG_PERIOD 2 #define RT_CHECK_FOR_HANG_PERIOD 2
void rtl8192_hw_wakeup(struct net_device *dev); void rtl8192_hw_wakeup(struct net_device *dev);
void rtl8192_hw_to_sleep(struct net_device *dev, u64 time); void rtl92e_enter_sleep(struct net_device *dev, u64 time);
void rtllib_ips_leave_wq(struct net_device *dev); void rtllib_ips_leave_wq(struct net_device *dev);
void rtllib_ips_leave(struct net_device *dev); void rtllib_ips_leave(struct net_device *dev);
void rtl92e_ips_leave_wq(void *data); void rtl92e_ips_leave_wq(void *data);
......
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