commit | 4edd56981c8fbb349b1529a2feaf772636eb1c83 | [log] [tgz] |
---|---|---|
author | Matthias May <matthias.may@neratec.com> | Fri Jul 17 15:28:39 2015 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Aug 14 17:48:46 2015 +0200 |
tree | 03b4f00dd4f73555d4cb2347f078e67a90dfa13d | |
parent | 75dbf00b443c1763138486e87f4978ff43506f9e [diff] |
cfg80211: regulatory: handle 5 and 10 MHz channels properly The original assumption of 20MHz wide channels hasn't been true since the addition of support for 5 and 10 MHz channels. Change the code to no longer disable all channels that don't fit into the 20MHz grid, but instead set the appropriate flags to disable operation on specific bandwidths. Signed-off-by: Matthias May <matthias.may@neratec.com> [reword commit message] Signed-off-by: Johannes Berg <johannes.berg@intel.com>