diff options
author | Harikrishnan Hariharan <hahariha@codeaurora.org> | 2016-12-14 12:33:07 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-15 19:10:32 -0700 |
commit | da20b1512965f7ec25b114f27b2fc8ad8ae069ed (patch) | |
tree | b5ec2a4d8a98147551b205a6b124a578009d33fa /utils/loc_target.cpp | |
parent | 681388fa8dd3f1ff9c8b788ac20e90a16fd5b62d (diff) | |
download | gps-da20b1512965f7ec25b114f27b2fc8ad8ae069ed.tar.gz |
Update the device node to check for MDM systems
To identify the target as MDM, we need to check for "/target"
node mdm targets instead of "/dev/mdm".
Change-Id: Ibb53acfd06a0a586f2cdca784f475d0a45718581
CRs-Fixed: 1101185
Diffstat (limited to 'utils/loc_target.cpp')
-rw-r--r-- | utils/loc_target.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/loc_target.cpp b/utils/loc_target.cpp index 1016861..53a8985 100644 --- a/utils/loc_target.cpp +++ b/utils/loc_target.cpp @@ -198,7 +198,7 @@ unsigned int loc_get_target(void) static const char hw_platform_dep[] = "/sys/devices/system/soc/soc0/hw_platform"; static const char id_dep[] = "/sys/devices/system/soc/soc0/id"; - static const char mdm[] = "/dev/mdm"; // No such file or directory + static const char mdm[] = "/target"; // mdm target we are using char rd_hw_platform[LINE_LEN]; char rd_id[LINE_LEN]; |