cfg80211: fix static regdomains
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 15 Sep 2008 08:30:34 +0000 (10:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Sep 2008 20:17:58 +0000 (16:17 -0400)
commit762af43bda3d8281a2738d3920ae5ded170aaf39
tree0a3cc0e32dde2e64c47209a008afa4d2db5c7033
parent9930ccee16addda9fa7d9af00cd03cd5a10c8965
cfg80211: fix static regdomains

When Luis added the static regdomains back he used +/-20
of the centre frequencies to account for 40MHz bandwidth
neglecting the fact that 40MHz bandwidth cannot be used
on the channels close to the allowed band edges.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c