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

staging: rtl8192e: Rename IPSLeave_wq

Use naming schema found in other rtlwifi devices.
Rename IPSLeave_wq to rtl92e_ips_leave_wq.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2ab2aba2
...@@ -1023,7 +1023,8 @@ static void rtl8192_init_priv_task(struct net_device *dev) ...@@ -1023,7 +1023,8 @@ static void rtl8192_init_priv_task(struct net_device *dev)
priv->priv_wq = create_workqueue(DRV_NAME); priv->priv_wq = create_workqueue(DRV_NAME);
INIT_WORK_RSL(&priv->reset_wq, (void *)rtl8192_restart, dev); INIT_WORK_RSL(&priv->reset_wq, (void *)rtl8192_restart, dev);
INIT_WORK_RSL(&priv->rtllib->ips_leave_wq, (void *)IPSLeave_wq, dev); INIT_WORK_RSL(&priv->rtllib->ips_leave_wq, (void *)rtl92e_ips_leave_wq,
dev);
INIT_DELAYED_WORK_RSL(&priv->watch_dog_wq, INIT_DELAYED_WORK_RSL(&priv->watch_dog_wq,
(void *)rtl819x_watchdog_wqcallback, dev); (void *)rtl819x_watchdog_wqcallback, dev);
INIT_DELAYED_WORK_RSL(&priv->txpower_tracking_wq, INIT_DELAYED_WORK_RSL(&priv->txpower_tracking_wq,
......
...@@ -180,7 +180,7 @@ void rtl92e_ips_leave(struct net_device *dev) ...@@ -180,7 +180,7 @@ void rtl92e_ips_leave(struct net_device *dev)
} }
} }
void IPSLeave_wq(void *data) void rtl92e_ips_leave_wq(void *data)
{ {
struct rtllib_device *ieee = container_of_work_rsl(data, struct rtllib_device *ieee = container_of_work_rsl(data,
struct rtllib_device, ips_leave_wq); struct rtllib_device, ips_leave_wq);
......
...@@ -35,7 +35,7 @@ void rtl8192_hw_wakeup(struct net_device *dev); ...@@ -35,7 +35,7 @@ void rtl8192_hw_wakeup(struct net_device *dev);
void rtl8192_hw_to_sleep(struct net_device *dev, u64 time); void rtl8192_hw_to_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 IPSLeave_wq(void *data); void rtl92e_ips_leave_wq(void *data);
void rtl92e_ips_enter(struct net_device *dev); void rtl92e_ips_enter(struct net_device *dev);
void rtl92e_ips_leave(struct net_device *dev); void rtl92e_ips_leave(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