summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2021-07-09 10:46:57 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2021-07-09 10:46:57 +0000
commita77d5d4776da0ec473a4647082b6ea09e81059e2 (patch)
treedc7959a4f992a393aa90d54a3f6320f839a83493 /sys/dev
parent3eff62bf5e01fb40301ea2eb5dc3b8ce8a4fe324 (diff)
Ignore undocumented TLVs found in the iwm(4) 9000-43 firmware image.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_iwm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index 47353683270..40a03cb68d3 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.345 2021/07/09 10:45:17 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.346 2021/07/09 10:46:56 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -971,6 +971,11 @@ iwm_read_firmware(struct iwm_softc *sc, enum iwm_ucode_type ucode_type)
case IWM_UCODE_TLV_FW_MEM_SEG:
break;
+ /* undocumented TLVs found in iwm-9000-43 image */
+ case 0x1000003:
+ case 0x1000004:
+ break;
+
default:
err = EINVAL;
goto parse_out;