Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278113
b: refs/heads/master
c: 524441e
h: refs/heads/master
i:
  278111: 5513293
v: v3
  • Loading branch information
Raja Mani authored and Kalle Valo committed Nov 11, 2011
1 parent ac4d071 commit f6226f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd6c0c63b43afc3a99b6c69d0b509f0395bb4fe2
refs/heads/master: 524441e3a7cadf12acbb409ad733d783ba1da459
8 changes: 6 additions & 2 deletions trunk/drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -1759,10 +1759,11 @@ int ath6kl_cfg80211_suspend(struct ath6kl *ar,
{
int ret;

ath6kl_cfg80211_stop(ar);

switch (mode) {
case ATH6KL_CFG_SUSPEND_DEEPSLEEP:

ath6kl_cfg80211_stop(ar);

/* save the current power mode before enabling power save */
ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode;

Expand All @@ -1777,6 +1778,9 @@ int ath6kl_cfg80211_suspend(struct ath6kl *ar,
break;

case ATH6KL_CFG_SUSPEND_CUTPOWER:

ath6kl_cfg80211_stop(ar);

if (ar->state == ATH6KL_STATE_OFF) {
ath6kl_dbg(ATH6KL_DBG_SUSPEND,
"suspend hw off, no action for cutpower\n");
Expand Down

0 comments on commit f6226f7

Please sign in to comment.