summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2015-11-05 08:51:07 -0600
committerJeff Hatch <jhatch@multitech.com>2015-11-05 08:51:07 -0600
commitc4d699baf96736b89c0335fc488e0ab2dc2d9cd3 (patch)
tree492dd4c4ca13da21ee6d9009b20624d3ae19cc03 /src
parentac3c9cbd5d19e98f6f5f4fc76d6bb01bee9e9284 (diff)
downloadlibmts-io-c4d699baf96736b89c0335fc488e0ab2dc2d9cd3.tar.gz
libmts-io-c4d699baf96736b89c0335fc488e0ab2dc2d9cd3.tar.bz2
libmts-io-c4d699baf96736b89c0335fc488e0ab2dc2d9cd3.zip
Fix CDMA radio band lookup to use CDMA table and not LTE0.2
Diffstat (limited to 'src')
-rw-r--r--src/MTS_IO_CellularRadio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp
index d23c11d..8eb35d5 100644
--- a/src/MTS_IO_CellularRadio.cpp
+++ b/src/MTS_IO_CellularRadio.cpp
@@ -1008,7 +1008,7 @@ CellularRadio::CODE CellularRadio::getNetworkStatus(Json::Value& jData) {
jData[KEY_NETWORK] = MTS::Text::strip(vParts[16], '"');
// Get the radio band given the channel (UARFCN)
- RadioBandMap radioBandMap(vParts[1], CellularRadio::VALUE_TYPE_LTE);
+ RadioBandMap radioBandMap(vParts[1], CellularRadio::VALUE_TYPE_CDMA);
jData[KEY_ABND] = radioBandMap.getRadioBandName();
if(MTS::Text::parse(iValue, vParts[17]) && convertServiceDomainToString((SERVICEDOMAIN)iValue, sValue) == SUCCESS) {