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
This commit is contained in:
parent
681388fa8d
commit
da20b15129
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue