Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202757
b: refs/heads/master
c: aed8e1f
h: refs/heads/master
i:
  202755: 9c17572
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Jun 2, 2010
1 parent ba87e4a commit 41bd2c8
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 17525f96aeeed156bd4a6dee21816100f77b0c71
refs/heads/master: aed8e1f9910b216ab3e14cb286c431c870f9b78f
5 changes: 3 additions & 2 deletions trunk/net/wireless/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ rdev_freq_to_chan(struct cfg80211_registered_device *rdev,
if (!ht_cap->ht_supported)
return NULL;

if (!(ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) ||
ht_cap->cap & IEEE80211_HT_CAP_40MHZ_INTOLERANT)
if (channel_type != NL80211_CHAN_HT20 &&
(!(ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) ||
ht_cap->cap & IEEE80211_HT_CAP_40MHZ_INTOLERANT))
return NULL;
}

Expand Down

0 comments on commit 41bd2c8

Please sign in to comment.