summaryrefslogtreecommitdiffstats
path: root/tools/hciconfig.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-07-03 13:13:17 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-07-03 13:13:17 +0000
commit4f32352b05190a3f70828c38f4a4f25655bb696e (patch)
tree45ba3b21b94f85c56ad51c5a9448fb9c7c785117 /tools/hciconfig.c
parentcbbe4f3f909cde4356f1323e0bd157e2fe9320de (diff)
Move CSR panic and fault code reading to the bccmd tool
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r--tools/hciconfig.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index f6c932e4..4dfb57a7 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -1173,7 +1173,7 @@ static void print_rev_ericsson(int dd)
static void print_rev_csr(int dd, uint16_t rev)
{
- uint16_t buildid, chipver, chiprev, maxkeylen, mapsco, error;
+ uint16_t buildid, chipver, chiprev, maxkeylen, mapsco;
if (csr_read_varid_uint16(dd, 0, CSR_VARID_BUILDID, &buildid) < 0) {
printf("\t%s\n", csr_buildidtostr(rev));
@@ -1193,16 +1193,6 @@ static void print_rev_csr(int dd, uint16_t rev)
if (!csr_read_pskey_uint16(dd, 4, CSR_PSKEY_HOSTIO_MAP_SCO_PCM, &mapsco))
printf("\tSCO mapping: %s\n", mapsco ? "PCM" : "HCI");
-
- if (!csr_read_varid_uint16(dd, 5, CSR_VARID_PANIC_ARG, &error)) {
- if (error < 0x0100)
- printf("\tPanic code: 0x%02x\n", error);
- }
-
- if (!csr_read_varid_uint16(dd, 6, CSR_VARID_FAULT_ARG, &error)) {
- if (error < 0x0100)
- printf("\tFault code: 0x%02x\n", error);
- }
}
static void print_rev_digianswer(int dd)