From 401898a437c2b3191e0632e1114a5351113ccd9f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 12 Jul 2018 17:00:32 +0200 Subject: [PATCH] luci-proto-qmi: register further network error codes Signed-off-by: Jo-Philipp Wich --- protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua b/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua index 8a28ad4716..c414378d80 100644 --- a/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua +++ b/protocols/luci-proto-qmi/luasrc/model/network/proto_qmi.lua @@ -49,3 +49,7 @@ function proto.contains_interface(self, ifc) end netmod:register_pattern_virtual("^qmi%-%w") + +netmod:register_error_code("CALL_FAILED", luci.i18n.translate("Call failed")) +netmod:register_error_code("NO_CID", luci.i18n.translate("Unable to obtain client ID")) +netmod:register_error_code("PLMN_FAILED", luci.i18n.translate("Setting PLMN failed")) -- 2.30.2