Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198605
b: refs/heads/master
c: 579d753
h: refs/heads/master
i:
  198603: bc98613
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed May 21, 2010
1 parent 050e98d commit 76ae23b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: b6411fc23c70d7a9f57a0bfb35212ad92b5c2b5e
refs/heads/master: 579d7534ca83235794b6d9ef3cd473ffc14e9d42
6 changes: 4 additions & 2 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -4443,9 +4443,10 @@ static int nl80211_remain_on_channel(struct sk_buff *skb,
if (channel_type != NL80211_CHAN_NO_HT &&
channel_type != NL80211_CHAN_HT20 &&
channel_type != NL80211_CHAN_HT40PLUS &&
channel_type != NL80211_CHAN_HT40MINUS)
channel_type != NL80211_CHAN_HT40MINUS) {
err = -EINVAL;
goto out;
}
}

freq = nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_FREQ]);
Expand Down Expand Up @@ -4717,9 +4718,10 @@ static int nl80211_action(struct sk_buff *skb, struct genl_info *info)
if (channel_type != NL80211_CHAN_NO_HT &&
channel_type != NL80211_CHAN_HT20 &&
channel_type != NL80211_CHAN_HT40PLUS &&
channel_type != NL80211_CHAN_HT40MINUS)
channel_type != NL80211_CHAN_HT40MINUS) {
err = -EINVAL;
goto out;
}
}

freq = nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_FREQ]);
Expand Down

0 comments on commit 76ae23b

Please sign in to comment.