usb: correct order of index, value in Alt_setting

Fix genodelabs/genode#5315
This commit is contained in:
Stefan Kalkowski 2024-08-05 14:15:16 +02:00 committed by Christian Helmuth
parent 89446084f3
commit 672179c3b8

View File

@ -553,7 +553,7 @@ struct Usb::Interface::Alt_setting : Device::Urb
P::Request::SET_INTERFACE,
Rt::value(P::Recipient::IFACE, P::Type::STANDARD,
P::Direction::IN),
iface.index().number, iface.index().alt_setting) {}
iface.index().alt_setting, iface.index().number) {}
};