summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mts_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index 1cc2060..133719d 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -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;