projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a9a65
)
staging: rtl8192e: Pass priv to rtl8192_hw_sleep_down
author
Mike McCormack
<mikem@ring3k.org>
Tue, 8 Mar 2011 15:40:06 +0000
(
00:40
+0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 9 Mar 2011 23:46:27 +0000
(15:46 -0800)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/rtl8192e/r8192E_core.c
b/drivers/staging/rtl8192e/r8192E_core.c
index 9d9ddcc67a4b05049ef5ef73cc583dc9a2ab59e0..f08bb6b94d8a67f7a113e62a15f36ab0a59d1139 100644
(file)
--- a/
drivers/staging/rtl8192e/r8192E_core.c
+++ b/
drivers/staging/rtl8192e/r8192E_core.c
@@
-1824,9
+1824,8
@@
static short rtl8192_is_tx_queue_empty(struct net_device *dev)
return 1;
}
-static void rtl8192_hw_sleep_down(struct
net_device *de
v)
+static void rtl8192_hw_sleep_down(struct
r8192_priv *pri
v)
{
- struct r8192_priv *priv = ieee80211_priv(dev);
MgntActSet_RF_State(priv, eRfSleep, RF_CHANGE_BY_PS);
}
@@
-1879,7
+1878,7
@@
static void rtl8192_hw_to_sleep(struct net_device *dev, u32 th, u32 tl)
queue_delayed_work(priv->ieee80211->wq,
&priv->ieee80211->hw_wakeup_wq,tmp);
- rtl8192_hw_sleep_down(
de
v);
+ rtl8192_hw_sleep_down(
pri
v);
}
static void rtl8192_init_priv_variable(struct r8192_priv *priv)