Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351748
b: refs/heads/master
c: 9cab315
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Jan 3, 2013
1 parent 9bbd6e1 commit bd8c8a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75de9113bb9dc4939a7cd54e4bdfad555b35f5b1
refs/heads/master: 9cab315190cddbe3aaa31b64841354dd719afdfd
4 changes: 4 additions & 0 deletions trunk/net/wireless/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ bool cfg80211_chandef_valid(const struct cfg80211_chan_def *chandef)
return false;
if (!chandef->center_freq2)
return false;
/* adjacent is not allowed -- that's a 160 MHz channel */
if (chandef->center_freq1 - chandef->center_freq2 == 80 ||
chandef->center_freq2 - chandef->center_freq1 == 80)
return false;
break;
case NL80211_CHAN_WIDTH_80:
if (chandef->center_freq1 != control_freq + 30 &&
Expand Down

0 comments on commit bd8c8a2

Please sign in to comment.