diff options
author | Mike McCormack <mikem@ring3k.org> | 2011-03-09 00:40:06 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-09 15:46:27 -0800 |
commit | 176e8dc1310ecf430294ac413cd29a6b4d99a6fe (patch) | |
tree | 11bcd0dacddd293e38b2c36b73bffee2ee2cccd9 /drivers/staging/rtl8192e | |
parent | 95a9a6538cbd23532aa711981748b21923db407f (diff) | |
download | linux-176e8dc1310ecf430294ac413cd29a6b4d99a6fe.tar.gz linux-176e8dc1310ecf430294ac413cd29a6b4d99a6fe.tar.bz2 linux-176e8dc1310ecf430294ac413cd29a6b4d99a6fe.zip |
staging: rtl8192e: Pass priv to rtl8192_hw_sleep_down
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index 9d9ddcc67a4b..f08bb6b94d8a 100644 --- 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 *dev) +static void rtl8192_hw_sleep_down(struct r8192_priv *priv) { - 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(dev); + rtl8192_hw_sleep_down(priv); } static void rtl8192_init_priv_variable(struct r8192_priv *priv) |