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:
5be50fc
)
db2bin bugfix
author
Johannes Berg
<johannes@sipsolutions.net>
Fri, 23 May 2008 10:35:16 +0000
(12:35 +0200)
committer
Johannes Berg
<johannes@sipsolutions.net>
Fri, 23 May 2008 10:35:16 +0000
(12:35 +0200)
db2bin.py
patch
|
blob
|
history
diff --git
a/db2bin.py
b/db2bin.py
index
b7d5de4
..
2755123
100755
(executable)
--- a/
db2bin.py
+++ b/
db2bin.py
@@
-58,7
+58,7
@@
for freq_range_id, fr in bands.iteritems():
fl = fr[3]
fr = [int(f * 1000) for f in fr[:3]]
# struct regdb_file_freq_range
- output.write(struct.pack('>IIIII', f
l, fr[0], fr[1], fr[2]
, 0))
+ output.write(struct.pack('>IIIII', f
r[0], fr[1], fr[2], fl
, 0))
reg_rules = {}