From 5a392bc4b2a4e93fba16e8a3a98b3144ffff3fe6 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 6 Oct 2016 12:07:05 -0500 Subject: Fix oops in mts-io driver 1.3.4 --- io-module/mts_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io-module/mts_io.c') 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 " #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; -- cgit v1.2.3