From a8ad9c56448334f31ed63725ea6eea9657e858b9 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Sat, 30 Dec 2023 16:55:45 +0000 Subject: Fix iwx(4) device info table entries for So+Hr devices. Some non-160MHz So+Hr devices were misdetected, causing iwx(4) to select the wrong firmware image for them. Patch by Miguel Landaeta --- sys/dev/pci/if_iwx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci/if_iwx.c') diff --git a/sys/dev/pci/if_iwx.c b/sys/dev/pci/if_iwx.c index 22a349b853c..4b945edf2c7 100644 --- a/sys/dev/pci/if_iwx.c +++ b/sys/dev/pci/if_iwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwx.c,v 1.179 2023/12/20 07:33:32 stsp Exp $ */ +/* $OpenBSD: if_iwx.c,v 1.180 2023/12/30 16:55:44 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh @@ -10696,7 +10696,7 @@ static const struct iwx_dev_info iwx_dev_info_table[] = { _IWX_DEV_INFO(IWX_CFG_ANY, IWX_CFG_ANY, IWX_CFG_MAC_TYPE_SO, IWX_CFG_ANY, IWX_CFG_RF_TYPE_HR1, IWX_CFG_ANY, - IWX_CFG_160, IWX_CFG_ANY, IWX_CFG_NO_CDB, IWX_CFG_ANY, + IWX_CFG_NO_160, IWX_CFG_ANY, IWX_CFG_NO_CDB, IWX_CFG_ANY, iwx_cfg_so_a0_hr_b0), /* ax101 */ _IWX_DEV_INFO(IWX_CFG_ANY, IWX_CFG_ANY, IWX_CFG_MAC_TYPE_SO, IWX_CFG_ANY, @@ -10713,7 +10713,7 @@ static const struct iwx_dev_info iwx_dev_info_table[] = { _IWX_DEV_INFO(IWX_CFG_ANY, IWX_CFG_ANY, IWX_CFG_MAC_TYPE_SOF, IWX_CFG_ANY, IWX_CFG_RF_TYPE_HR1, IWX_CFG_ANY, - IWX_CFG_160, IWX_CFG_ANY, IWX_CFG_NO_CDB, IWX_CFG_ANY, + IWX_CFG_NO_160, IWX_CFG_ANY, IWX_CFG_NO_CDB, IWX_CFG_ANY, iwx_cfg_so_a0_hr_b0), /* AX101 */ _IWX_DEV_INFO(IWX_CFG_ANY, IWX_CFG_ANY, IWX_CFG_MAC_TYPE_SOF, IWX_CFG_ANY, -- cgit v1.2.3