Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289987
b: refs/heads/master
c: 2da8f41
h: refs/heads/master
i:
  289985: 05aa20e
  289983: 85c143d
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jan 27, 2012
1 parent c01a76c commit 7bb6185
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8e7c4e4dc6e98a0d3ee4535c6b94a3ad63adad2a
refs/heads/master: 2da8f419e78a0ebccc91c095328278fe668a7932
8 changes: 3 additions & 5 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,9 @@ static int nl80211_parse_key_new(struct nlattr *key, struct key_parse *k)

if (tb[NL80211_KEY_DEFAULT_TYPES]) {
struct nlattr *kdt[NUM_NL80211_KEY_DEFAULT_TYPES];
int err = nla_parse_nested(kdt,
NUM_NL80211_KEY_DEFAULT_TYPES - 1,
tb[NL80211_KEY_DEFAULT_TYPES],
nl80211_key_default_policy);
err = nla_parse_nested(kdt, NUM_NL80211_KEY_DEFAULT_TYPES - 1,
tb[NL80211_KEY_DEFAULT_TYPES],
nl80211_key_default_policy);
if (err)
return err;

Expand Down Expand Up @@ -4781,7 +4780,6 @@ static int nl80211_join_ibss(struct sk_buff *skb, struct genl_info *info)
nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]);
struct ieee80211_supported_band *sband =
wiphy->bands[ibss.channel->band];
int err;

err = ieee80211_get_ratemask(sband, rates, n_rates,
&ibss.basic_rates);
Expand Down

0 comments on commit 7bb6185

Please sign in to comment.