diff options
author | Rostislav Lisovy <lisovy@gmail.com> | 2014-04-15 16:37:56 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-25 19:39:32 +0400 |
commit | 8eca1fb692cc9557f386eddce75c300a3855d11a (patch) | |
tree | 88c9b3fa62c0dc38c947cb023ca6a3eb3fe44c99 /net/mac80211/util.c | |
parent | ea077c1cea36a6b5ded1256dcd56c72ff2a22c62 (diff) | |
download | linux-8eca1fb692cc9557f386eddce75c300a3855d11a.tar.xz |
cfg80211: Use 5MHz bandwidth by default when checking usable channels
Current code checks if the 20MHz bandwidth is allowed for
particular channel -- if it is not, the channel is disabled.
Since we need to use 5/10 MHz channels, this code is modified in
the way that the default bandwidth to check is 5MHz. If the
maximum bandwidth allowed by the channel is smaller than 5MHz,
the channel is disabled. Otherwise the channel is used and the
flags are set according to the bandwidth allowed by the channel.
Signed-off-by: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions