New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wwan: fix extra bracket in some modem definitions #1328

Closed
wants to merge 1 commit into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+349 −349
Diff settings

Always

Just for now

wwan: json format in some modem definitions

Method used:
```
cd package/network/utils/wwan/files/data
sed -e 's/}}/}/g' -i *
sed -e 's/}\t"acm": 1/\t"acm": 1/g' -i *
sed -e 's/}\t"generic": 1/\t"generic": 1/g' -i *
```

Manually adjusted commas.
Validated with
```
for f in `ls` ; do echo $f ; python -m json.tool < $f || break ; done
```

Thanks to @lynxis for pointing out the commas.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
  • Loading branch information...
commodo committed Sep 4, 2017
commit a94f35c8d1f981e1a7699e5f39b174d4dfeee207
@@ -1,6 +1,6 @@
{
"desc": "Nokia C5-00 Mobile phone",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-10",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-10",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-15/CS-18",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-12",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-11",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-17",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-18",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-19",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia CS-19",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Nokia 21M-02",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "iBall 3.5G Connect",
"control": 2,
"data": 2
} "generic": 1
"data": 2,
"generic": 1
}
@@ -2,4 +2,4 @@
"desc": "Leoxsys LN-72V",
"control": 2,
"data": 0
}}
}
@@ -1,6 +1,6 @@
{
"desc": "Axesstel MV241",
"control": 2,
"data": 0
} "generic": 1
"data": 0,
"generic": 1
}
@@ -2,4 +2,4 @@
"desc": "Siemens SG75",
"control": 2,
"data": 0
}}
}
@@ -2,4 +2,4 @@
"desc": "Generic Qualcomm",
"control": 1,
"data": 2
}}
}
@@ -2,4 +2,4 @@
"desc": "D-Link DWM-152",
"control": 1,
"data": 0
}}
}
@@ -2,4 +2,4 @@
"desc": "D-Link DWM-156",
"control": 1,
"data": 0
}}
}
@@ -1,6 +1,6 @@
{
"desc": "D-Link DWM-156",
"control": 1,
"data": 2
} "generic": 1
"data": 2,
"generic": 1
}
@@ -2,4 +2,4 @@
"desc": "Option GI0201",
"control": 1,
"data": 0
}}
}
@@ -2,4 +2,4 @@
"desc": "Option GTM380",
"control": 1,
"data": 0
}}
}
@@ -2,4 +2,4 @@
"desc": "Option GTM671WFS",
"control": 2,
"data": 2
}}
}
@@ -2,4 +2,4 @@
"desc": "Olivetti Olicard 145",
"control": 0,
"data": 4
}}
}
@@ -1,6 +1,6 @@
{
"desc": "Ericsson F3507g",
"control": 4,
"data": 1
} "acm": 1
"data": 1,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Ericsson F3507g",
"control": 4,
"data": 1
} "acm": 1
"data": 1,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Ericsson F3307",
"control": 4,
"data": 1
} "acm": 1
"data": 1,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Ericsson F5521gw",
"control": 4,
"data": 1
} "acm": 1
"data": 1,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "Ericsson F5521gw",
"control": 4,
"data": 1
} "acm": 1
"data": 1,
"acm": 1
}
@@ -2,4 +2,4 @@
"desc": "Kyocera KPC650",
"control": 0,
"data": 0
}}
}
@@ -2,4 +2,4 @@
"desc": "Kyocera KPC680",
"control": 0,
"data": 0
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra Wireless AC313U/320U/330U Direct IP",
"control": 3,
"data": 3
}}
}
@@ -1,6 +1,6 @@
{
"desc": "LG L-05A",
"control": 0,
"data": 2
} "acm": 1
"data": 2,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "LG LUU-2100TI",
"control": 0,
"data": 2
} "acm": 1
"data": 2,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "LG LUU-2110TI",
"control": 0,
"data": 2
} "acm": 1
"data": 2,
"acm": 1
}
@@ -2,4 +2,4 @@
"desc": "LG L-02C",
"control": 0,
"data": 2
}}
}
@@ -1,6 +1,6 @@
{
"desc": "PANTECH UM-150",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "PANTECH UM-175",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "PANTECH UM-175AL",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "PANTECH UM-190",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -1,6 +1,6 @@
{
"desc": "PANTECH UM-185C/UM185E",
"control": 0,
"data": 0
} "acm": 1
"data": 0,
"acm": 1
}
@@ -2,4 +2,4 @@
"desc": "Sierra EM5625",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra MC5720",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra AC595U",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra MC5725",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra AC597E",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra EM5725",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra AC597",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra MC5727 CDMA",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra AC598",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra T11",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra AC402",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra MC5728",
"control": 3,
"data": 4
}}
}
@@ -2,4 +2,4 @@
"desc": "Sierra CDMA 1xEVDO PC Card, AC580",
"control": 3,
"data": 4
}}
}
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.