summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2022-01-21 16:36:54 +0200
committerJohn Klug <john.klug@multitech.com>2022-02-16 16:12:43 -0600
commit0fdc09373bf31169c7b58c10513d3dcfe82cf133 (patch)
tree3a3cbdb027db83a0bd96584ea056ab9cf3efa37d /io-module
parentd9ce6b6e66f44a844307719c6a67852b186b27a4 (diff)
downloadmts-io-0fdc09373bf31169c7b58c10513d3dcfe82cf133.tar.gz
mts-io-0fdc09373bf31169c7b58c10513d3dcfe82cf133.tar.bz2
mts-io-0fdc09373bf31169c7b58c10513d3dcfe82cf133.zip
MTX-4356 mPower R.6.0.x: MTCAP3 - GP-1352, PP-477 : need --capa-lora-lbt for MTCAP3 in mts-id-eeprom
Diffstat (limited to 'io-module')
-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 f4cd136..167e3f0 100644
--- a/io-module/mts-io.c
+++ b/io-module/mts-io.c
@@ -1254,7 +1254,7 @@ mts_id_eeprom_load(void)
log_info("capa-adc: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_ADC) ? "yes" : "no");
log_info("capa-wifi: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_WIFI) ? "yes" : "no");
log_info("capa-bluetooth: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_BLUETOOTH) ? "yes" : "no");
- if (!(mts_hw_version != MTCPM_0_0)) {
+ if ((mts_hw_version != MTCPM_0_0) || (mts_hw_version != MTCPM_0_1)) {
/* Moved to mtcdt3b driver in MTCDT3 baseboard hardware */
log_info("capa-lora: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_LORA) ? "yes" : "no");
log_info("capa-lora-lbt: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_LORA_LBT) ? "yes" : "no");