[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch,	debian, updated. upstream/0.9.5.5-717-g0f98819
    Jan Luebbe 
    jluebbe at debian.org
       
    Sat Aug  6 08:17:17 UTC 2011
    
    
  
The following commit has been merged in the debian branch:
commit c707e105c2eef99ed35314e74ad026a4f38c7790
Author: Jan Luebbe <jluebbe at debian.org>
Date:   Thu Jul 9 16:04:16 2009 +0200
    celldb: skip broken cell ids
diff --git a/etc/freesmartphone/ogsmd/cell.db b/etc/freesmartphone/ogsmd/cell.db
index 21a1ebc..4a5f8aa 100644
Binary files a/etc/freesmartphone/ogsmd/cell.db and b/etc/freesmartphone/ogsmd/cell.db differ
diff --git a/etc/freesmartphone/ogsmd/la.db b/etc/freesmartphone/ogsmd/la.db
index 1cc8935..c55c03d 100644
Binary files a/etc/freesmartphone/ogsmd/la.db and b/etc/freesmartphone/ogsmd/la.db differ
diff --git a/tools/make_cell_db.py b/tools/make_cell_db.py
index 41ccc78..6be36ea 100644
--- a/tools/make_cell_db.py
+++ b/tools/make_cell_db.py
@@ -84,6 +84,8 @@ for line in stdin.readlines():
         data[key] = float(data[key])
     if not data['cell_mcc']<999 or not data['cell_mnc']<999:
         data['cell_mcc'], data['cell_mnc'] = (0, 0)
+    if not data['cell_la']<=0xFFFF or not data['cell_id']<=0xFFFF:
+        continue
     if data['cell_mcc']==0 or (data['cell_mcc']==0 and data['cell_mnc']==0):
         if len(data['provider']) == 4: 
             continue
-- 
FSO frameworkd Debian packaging
    
    
More information about the pkg-fso-commits
mailing list