regulatory: remove handling of channel bandwidth
authorJohannes Berg <johannes.berg@intel.com>
Tue, 4 Dec 2012 14:07:34 +0000 (15:07 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:28 +0000 (13:01 +0100)
commitfe7ef5e9ba0c60bab01390493a4c6790f7b093af
tree899add2d99d37b272a89c5c84eb4e1d9ba22781b
parent6913b49a5071064f49f7a74b432286fa735f7612
regulatory: remove handling of channel bandwidth

The channel bandwidth handling isn't really quite right,
it assumes that a 40 MHz channel is really two 20 MHz
channels, which isn't strictly true. This is the way the
regulatory database handling is defined right now though
so remove the logic to handle other channel widths.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/regd.c
drivers/net/wireless/brcm80211/brcmsmac/channel.c
drivers/net/wireless/rtlwifi/regd.c
include/net/cfg80211.h
net/wireless/reg.c