diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2013-07-08 14:55:58 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-07-16 06:58:11 (GMT) |
commit | bf3726457276c8773ec97da30c6459caf512b22f (patch) | |
tree | b903f690554a1d4c795bc3b92c3017be799f69d7 /net | |
parent | 4b42aab1e8fcac2e9b835a7d93bf30dc9a032faa (diff) | |
download | linux-bf3726457276c8773ec97da30c6459caf512b22f.tar.xz |
nl80211: allow 5 and 10 MHz channels for IBSS
Whether the wiphy supports it or not is already checked, so what is left
is to enable these channel types.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index ef4c312c..03d4ef9 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -6355,6 +6355,8 @@ static int nl80211_join_ibss(struct sk_buff *skb, struct genl_info *info) return -EINVAL; switch (ibss.chandef.width) { + case NL80211_CHAN_WIDTH_5: + case NL80211_CHAN_WIDTH_10: case NL80211_CHAN_WIDTH_20_NOHT: break; case NL80211_CHAN_WIDTH_20: |