[PATCH 5/5] Revert "atmodem: let +COPS: report access technology for SIMCom"
Sean Nyekjaer <[email protected]> Thu, 21 Aug 2025 13:24:13 +0200
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
This doesn't make sense anymore after "atmodem: report cell technology
capability for SIMCom A76XX"
This reverts commit a2adfca2cb0a5b0857ed7843fe66d21fe1fccb86.
---
drivers/atmodem/network-registration.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c
index 7f03759b83b3cf8c45cc885a450cdf24ac9aed92..ba5a93bb5dfa48ce591d31b5bac8e3c9dcb1d7f4 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -412,13 +412,6 @@ static void cops_cb(gboolean ok, GAtResult *result, gpointer user_data)
op.status = 2;
op.tech = tech;
- /*
- * SIMCom modems shows the current tech via the +COPS
- * not like other modems where it's shown via +CREG
- */
- if (nd->vendor == OFONO_VENDOR_SIMCOM_A76XX)
- nd->tech = tech;
-
DBG("cops_cb: %s, %s %s %d", name, nd->mcc, nd->mnc, tech);
cb(&error, &op, cbd->data);
--
2.50.1