summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2012-08-22 12:16:54 -0500
committerJesse Gilles <jgilles@multitech.com>2012-08-22 12:16:54 -0500
commitef1ef2f7abcd0f235ff162f01734ce3c304063b7 (patch)
tree293bd55fa8d8bafbedde20a5b9acd3c1913e1071
parentf5d4a0758243933fba36a2b9186d6061b7bf40e3 (diff)
downloadcdp-io-controller-ef1ef2f7abcd0f235ff162f01734ce3c304063b7.tar.gz
cdp-io-controller-ef1ef2f7abcd0f235ff162f01734ce3c304063b7.tar.bz2
cdp-io-controller-ef1ef2f7abcd0f235ff162f01734ce3c304063b7.zip
update logging for bluetooth/wifi
-rw-r--r--io-module/mts_io.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index 434e179..b1889f0 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -813,6 +813,22 @@ static int mts_id_eeprom_load(void)
log_info("capa-din: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_DIN) ? "yes" : "no");
log_info("capa-dout: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_DOUT) ? "yes" : "no");
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");
+ log_info("mac-bluetooth: %02X:%02X:%02X:%02X:%02X:%02X",
+ id_eeprom->mac_bluetooth[0],
+ id_eeprom->mac_bluetooth[1],
+ id_eeprom->mac_bluetooth[2],
+ id_eeprom->mac_bluetooth[3],
+ id_eeprom->mac_bluetooth[4],
+ id_eeprom->mac_bluetooth[5]);
+ log_info("mac-wifi: %02X:%02X:%02X:%02X:%02X:%02X",
+ id_eeprom->mac_wifi[0],
+ id_eeprom->mac_wifi[1],
+ id_eeprom->mac_wifi[2],
+ id_eeprom->mac_wifi[3],
+ id_eeprom->mac_wifi[4],
+ id_eeprom->mac_wifi[5]);
return 0;
}