Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247541
b: refs/heads/master
c: 0e579d6
h: refs/heads/master
i:
  247539: 2d39ee1
v: v3
  • Loading branch information
Jouni Malinen authored and John W. Linville committed May 5, 2011
1 parent eea5a64 commit cbe77f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 270e58e8898c8be40451ebee45b6c9b5bd5db04b
refs/heads/master: 0e579d6a8f4aea346da818f13ee71401c125e639
8 changes: 0 additions & 8 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -1682,14 +1682,6 @@ static int nl80211_set_key(struct sk_buff *skb, struct genl_info *info)
if (err)
goto out;

if (!(rdev->wiphy.flags &
WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS)) {
if (!key.def_uni || !key.def_multi) {
err = -EOPNOTSUPP;
goto out;
}
}

err = rdev->ops->set_default_key(&rdev->wiphy, dev, key.idx,
key.def_uni, key.def_multi);

Expand Down

0 comments on commit cbe77f3

Please sign in to comment.