diff options
author | John Klug <john.klug@multitech.com> | 2016-10-06 12:07:05 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2016-10-06 12:07:05 -0500 |
commit | 5a392bc4b2a4e93fba16e8a3a98b3144ffff3fe6 (patch) | |
tree | 118fba72b3ef613321b03e84d9c8e78a47ff87c9 /io-module | |
parent | d80b22ceeeed5cd6cb3f0d2c617116878cbcddff (diff) | |
download | mts-io-5a392bc4b2a4e93fba16e8a3a98b3144ffff3fe6.tar.gz mts-io-5a392bc4b2a4e93fba16e8a3a98b3144ffff3fe6.tar.bz2 mts-io-5a392bc4b2a4e93fba16e8a3a98b3144ffff3fe6.zip |
Fix oops in mts-io driver 1.3.4Conduit_0.1_Compliance_2016_Oct_111.3.5
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/mts_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c index fcfba7f..cebaf8f 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -47,7 +47,7 @@ #include "mts_io.h" -#define DRIVER_VERSION "v1.3.4" +#define DRIVER_VERSION "v1.3.5" #define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>" #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" @@ -801,7 +801,7 @@ static int mts_id_eeprom_load() if(DEVICE_CAPA(id_eeprom.capa, CAPA_GNSS)) { attr_blength += sizeof mtcdt_0_1_gnss_attributes; memcpy(all_attrs + current_count,mtcdt_0_1_gnss_attributes,sizeof mtcdt_0_1_gnss_attributes); - current_count += sizeof mtcdt_0_1_wifi_bt_attributes / (sizeof (struct attribute *)); + current_count += sizeof mtcdt_0_1_gnss_attributes / (sizeof (struct attribute *)); } all_attrs[current_count] = (struct attribute *)NULL; mtcdt_0_1_platform_attribute_group.attrs = all_attrs; |