From e2ae01f87061849313f805702563caef9f2bbb2a Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Mon, 26 Sep 2016 16:26:56 +0200 Subject: [PATCH] usb_drv: fix policy parsing Fixes #2112 --- repos/dde_linux/src/lib/usb/raw/raw.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/dde_linux/src/lib/usb/raw/raw.cc b/repos/dde_linux/src/lib/usb/raw/raw.cc index 3b67a708f9..856f99be5c 100644 --- a/repos/dde_linux/src/lib/usb/raw/raw.cc +++ b/repos/dde_linux/src/lib/usb/raw/raw.cc @@ -804,8 +804,8 @@ class Usb::Root : public Genode::Root_component size_t ram_quota = Arg_string::find_arg(args, "ram_quota" ).ulong_value(0); size_t tx_buf_size = Arg_string::find_arg(args, "tx_buf_size").ulong_value(0); - unsigned long vendor = policy.attribute_value("vendor", 0); - unsigned long product = policy.attribute_value("product", 0); + unsigned long vendor = policy.attribute_value("vendor_id", 0); + unsigned long product = policy.attribute_value("product_id", 0); unsigned long bus = policy.attribute_value("bus", 0); unsigned long dev = policy.attribute_value("dev", 0);