Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149905
b: refs/heads/master
c: 4499b23
h: refs/heads/master
i:
  149903: c00ec2e
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Apr 22, 2009
1 parent cde75f5 commit d30614d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: e45d8e534b67580eedd9b4910ccc16d6dd3cceff
refs/heads/master: 4499b23933b44bf9e56d1a29b51d9a62941f9fa4
10 changes: 5 additions & 5 deletions trunk/net/mac80211/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ int __ieee80211_resume(struct ieee80211_hw *hw)

rcu_read_unlock();

/* add back keys */
list_for_each_entry(sdata, &local->interfaces, list)
if (netif_running(sdata->dev))
ieee80211_enable_keys(sdata);

/* setup RTS threshold */
if (local->ops->set_rts_threshold)
local->ops->set_rts_threshold(hw, local->rts_threshold);
Expand Down Expand Up @@ -172,6 +167,11 @@ int __ieee80211_resume(struct ieee80211_hw *hw)
}
}

/* add back keys */
list_for_each_entry(sdata, &local->interfaces, list)
if (netif_running(sdata->dev))
ieee80211_enable_keys(sdata);

ieee80211_wake_queues_by_reason(hw,
IEEE80211_QUEUE_STOP_REASON_SUSPEND);

Expand Down

0 comments on commit d30614d

Please sign in to comment.