1
0
Fork 0
mirror of https://github.com/linux-usb-gadgets/libusbgx.git synced 2025-07-13 12:39:43 +03:00

Merge pull request #73 from liuming50/Add-interface-name-for-NCM-Feature-Descriptors

libusbgx: Add interface name for NCM Feature Descriptors
This commit is contained in:
Michael Grzeschik 2024-09-24 22:40:12 +02:00 committed by GitHub
commit f62ab13295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -184,8 +184,14 @@ struct usbg_function_type usbg_f_type_subset = {
ETHER_FUNCTION_OPTS
};
static char *ncm_os_desc_ifnames[] = {
"ncm",
NULL
};
struct usbg_function_type usbg_f_type_ncm = {
.name = "ncm",
.os_desc_iname = ncm_os_desc_ifnames,
ETHER_FUNCTION_OPTS
};