Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342132
b: refs/heads/master
c: a6662db
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Dec 4, 2012
1 parent 30cecec commit fc56c8b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2f91a96799d155d56a0663dbe00fc45c6721a763
refs/heads/master: a6662dbae0b3a7a91317ec88b5aa0cf8d716f183
3 changes: 3 additions & 0 deletions trunk/net/wireless/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ bool cfg80211_chandef_usable(struct wiphy *wiphy,

/* TODO: missing regulatory check on 80/160 bandwidth */

if (width > 20)
prohibited_flags |= IEEE80211_CHAN_NO_OFDM;

if (!cfg80211_secondary_chans_ok(wiphy, chandef->center_freq1,
width, prohibited_flags))
return false;
Expand Down

0 comments on commit fc56c8b

Please sign in to comment.