projects
/
platform
/
upstream
/
crda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d41ce
)
parser: fix flag dict name
author
Johannes Berg
<johannes@sipsolutions.net>
Fri, 23 May 2008 11:56:22 +0000
(13:56 +0200)
committer
Johannes Berg
<johannes@sipsolutions.net>
Fri, 23 May 2008 11:56:22 +0000
(13:56 +0200)
dbparse.py
patch
|
blob
|
history
diff --git
a/dbparse.py
b/dbparse.py
index
36e60bb
..
46cf76f
100644
(file)
--- a/
dbparse.py
+++ b/
dbparse.py
@@
-2,7
+2,7
@@
import sys
-
power
_flags = {
+
band
_flags = {
'OFDM': 2,
'CCK': 1,
}
@@
-46,9
+46,9
@@
class DBParser(object):
fl = 0
for f in flags:
- if not f in
power
_flags:
+ if not f in
band
_flags:
self._syntax_error("Invalid band flag")
- fl |=
power
_flags[f]
+ fl |=
band
_flags[f]
b = (start, end, bw, fl)
self._banddup[bname] = bname