usb: usb_dc_kinetis: Fix using invalid index
I does make sense to use index only after we make sure it is valid,
issue is found in harness tests.
Signed-off-by:
Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Loading
Please sign in to comment