difos/package/network/utils/comgt/files
Jakub Łabuz 2eb7e4bf61 comgt-ncm: fix modem manufacturer detection
Fix an issue where NCM interface initialization fails because of wrong
modem manufacturer detection.

gcom call returns an output with Windows-style line breaks (containing \r)
what makes awk call return empty or malformed manufacturer name. Changing
awk RS variable to handle both \n and \r\n as line break fixes this issue.

Fixes #17448 and #17998 GitHub issues.

Signed-off-by: Jakub Łabuz <jakub@labuz.dev>
Link: https://github.com/openwrt/openwrt/pull/18460
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-04-18 01:37:48 +02:00
..
3g.chat comgt: add support for defining dial number in config file 2014-06-02 12:45:09 +00:00
3g.sh comgt: add quirk for Mikrotik modems based on Mikrotik R11e-LTE6 2023-03-29 17:29:02 +02:00
3g.usb package/comgt: Handle bind/unbind events 2021-07-02 11:09:57 +02:00
directip-stop.gcom comgt: add directip proto 2014-09-11 12:26:31 +00:00
directip.gcom comgt: fix misplaced : in directip setup script 2014-09-24 08:07:40 +00:00
directip.sh comgt: directip: add delegate option support 2024-09-22 23:43:08 +02:00
evdo.chat packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getcardinfo.gcom comgt-ncm: Add support for specifying profile index 2016-12-14 10:37:01 +01:00
getcarrier.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getcnum.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getimsi.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
getstrength.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
ncm.json comgt-ncm: add support for UNISOC SL8563 based TOZED TL70-C 2023-05-18 14:44:07 +02:00
ncm.sh comgt-ncm: fix modem manufacturer detection 2025-04-18 01:37:48 +02:00
runcommand.gcom comgt: increase timeout on runcommands 2018-08-29 08:34:10 +02:00
setmode.gcom packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
setpin.gcom comgt-3g: enable modem before to setpin 2017-05-18 07:07:00 +02:00
ussd.gcom comgt: add new script to send ussd request and get the answer 2020-07-08 16:07:05 +02:00