From 8af1d9838183880e345c1bdc6331f3d93abe9786 Mon Sep 17 00:00:00 2001 From: stsp Date: Fri, 9 Jul 2021 10:46:56 +0000 Subject: [PATCH] Ignore undocumented TLVs found in the iwm(4) 9000-43 firmware image. --- sys/dev/pci/if_iwm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 @@ -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; -- 2.20.1