Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258451
b: refs/heads/master
c: f850e00
h: refs/heads/master
i:
  258449: 331e16f
  258447: 5554ed3
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jul 15, 2011
1 parent 34b72b7 commit ab005dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: 8bca5d815311f53ada13b62f5e590df40fef317e
refs/heads/master: f850e00fcd7767d01101e2f0a6d464bee8e48b47
4 changes: 4 additions & 0 deletions trunk/include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -2987,6 +2987,10 @@ void ieee80211_sta_block_awake(struct ieee80211_hw *hw,
* needs reprogramming of the keys during suspend. Note that due
* to locking reasons, it is also only safe to call this at few
* spots since it must hold the RTNL and be able to sleep.
*
* The order in which the keys are iterated matches the order
* in which they were originally installed and handed to the
* set_key callback.
*/
void ieee80211_iter_keys(struct ieee80211_hw *hw,
struct ieee80211_vif *vif,
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/mac80211/key.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static void __ieee80211_key_replace(struct ieee80211_sub_if_data *sdata,
bool defunikey, defmultikey, defmgmtkey;

if (new)
list_add(&new->list, &sdata->key_list);
list_add_tail(&new->list, &sdata->key_list);

if (sta && pairwise) {
rcu_assign_pointer(sta->ptk, new);
Expand Down

0 comments on commit ab005dc

Please sign in to comment.