From 1d7e51b42323bba3621983c2c2516557ff2c5ce0 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 21 Aug 2017 09:24:55 -0600 Subject: [PATCH] Update main.rs --- pcid/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcid/src/main.rs b/pcid/src/main.rs index a4345608c6..8d2b99b963 100644 --- a/pcid/src/main.rs +++ b/pcid/src/main.rs @@ -100,6 +100,10 @@ fn main() { if subclass != header.subclass { continue; } } + if let Some(interface) = driver.interface { + if interface != header.interface { continue; } + } + if let Some(vendor) = driver.vendor { if vendor != header.vendor_id { continue; } }