aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2014-06-13 15:08:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-06-13 15:08:07 -0400
commit863ca114cb436edaf28b7ad4848d54e6762ba5a1 (patch)
tree213218c7fe0b510249ef53fe680abed9c235b865
parentcfa3734b11b2a6f00eb4556f5ebe8259841c7cdb (diff)
downloadwireless-regdb-863ca114cb436edaf28b7ad4848d54e6762ba5a1.tar.gz
Revert "wireless-regdb: allow max bandwidth to be AUTO calculated"
This reverts commit ff459d77110ce4b9d08589e1d0b12484f5c0a961. Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rwxr-xr-xdbparse.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/dbparse.py b/dbparse.py
index 06878f6..b735b6a 100755
--- a/dbparse.py
+++ b/dbparse.py
@@ -145,10 +145,7 @@ class DBParser(object):
def _parse_band_def(self, bname, banddef, dupwarn=True):
try:
freqs, bw = banddef.split('@')
- if bw == "AUTO":
- bw = 0.0
- else:
- bw = float(bw)
+ bw = float(bw)
except ValueError:
bw = 20.0