From 8bbf1d8f5be1aec220b8471cc900465990d28da2 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 27 Aug 2022 08:18:19 -0600 Subject: [PATCH] Fix typo in xhcid --- xhcid/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xhcid/src/main.rs b/xhcid/src/main.rs index 82073e4741..e08891e4a9 100644 --- a/xhcid/src/main.rs +++ b/xhcid/src/main.rs @@ -114,7 +114,7 @@ fn get_int_method(pcid_handle: &mut PcidServerHandle, address: usize) -> (Option if msi_enabled && !msix_enabled { use pcid_interface::msi::x86_64::{DeliveryMode, self as x86_64_msix}; - let mut capability = match pcid_handle.feature_info(PciFeature::MsiX).expect("xhcid: failed to retrieve the MSI capability structure from pcid") { + let mut capability = match pcid_handle.feature_info(PciFeature::Msi).expect("xhcid: failed to retrieve the MSI capability structure from pcid") { PciFeatureInfo::Msi(s) => s, PciFeatureInfo::MsiX(_) => panic!(), };