---
doc/network-api.txt | 5 +++--
src/common.c | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/network-api.txt b/doc/network-api.txt
index 4616542..28304e3 100644
--- a/doc/network-api.txt
+++ b/doc/network-api.txt
@@ -125,8 +125,9 @@ Properties string Mode [readonly]
Contains the technology of the current network.
- The possible values are: "gsm", "edge", "umts",
"hspa",
- "lte"
+ The possible values are: "gsm", "edge", "umts",
+ "hsdpa", "hsupa", "hspa" (meaning both hsdpa and hsupa)
+ and "lte"
TODO: Values for CDMA and EVDO based networks.
diff --git a/src/common.c b/src/common.c
index 4d93488..d4e567b 100644
--- a/src/common.c
+++ b/src/common.c
@@ -702,9 +702,9 @@ const char *registration_tech_to_string(int tech)
case ACCESS_TECHNOLOGY_GSM_EGPRS:
return "edge";
case ACCESS_TECHNOLOGY_UTRAN_HSDPA:
- return "hspa";
+ return "hsdpa";
case ACCESS_TECHNOLOGY_UTRAN_HSUPA:
- return "hspa";
+ return "hsupa";
case ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA:
return "hspa";
case ACCESS_TECHNOLOGY_EUTRAN:
--
1.7.1
Show replies by thread