xusb: add check for interface kernel driver
authorNathan Hjelm <hjelmn@google.com>
Wed, 21 Jul 2021 17:47:25 +0000 (11:47 -0600)
committerNathan Hjelm <hjelmn@google.com>
Wed, 21 Jul 2021 18:41:26 +0000 (12:41 -0600)
commit42f9c3b43f49f22a3b10ed452f500f6f50c093df
treef0fb47d7693b44cbe6c7a6ec8f27492df5b412fd
parent6cae9c6dbd74c0840848f343dd605c5ddcef1ad1
xusb: add check for interface kernel driver

This commit adds a call to libusb_kernel_driver_active and prints out the result. This
provides a way to quickly check the result when testing.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
examples/xusb.c
libusb/version_nano.h