Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203811
b: refs/heads/master
c: 66c5242
h: refs/heads/master
i:
  203809: 9a6dab5
  203807: 965e6ba
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jul 26, 2010
1 parent 58ad41b commit 0289dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: f9f9b6e3e3128e2b4d01a6e5ed0bb73cbb9a0a37
refs/heads/master: 66c524210ab9217528b01b63c43903545e03a58c
7 changes: 1 addition & 6 deletions trunk/net/mac80211/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,15 +324,10 @@ static int ieee80211_config_default_mgmt_key(struct wiphy *wiphy,
struct net_device *dev,
u8 key_idx)
{
struct ieee80211_sub_if_data *sdata;

rcu_read_lock();
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);

sdata = IEEE80211_DEV_TO_SUB_IF(dev);
ieee80211_set_default_mgmt_key(sdata, key_idx);

rcu_read_unlock();

return 0;
}

Expand Down

0 comments on commit 0289dc5

Please sign in to comment.