mirror of
https://github.com/linux-usb-gadgets/libusbgx.git
synced 2025-07-13 20:19:44 +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:
commit
f62ab13295
1 changed files with 6 additions and 0 deletions
|
@ -184,8 +184,14 @@ struct usbg_function_type usbg_f_type_subset = {
|
||||||
ETHER_FUNCTION_OPTS
|
ETHER_FUNCTION_OPTS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static char *ncm_os_desc_ifnames[] = {
|
||||||
|
"ncm",
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
struct usbg_function_type usbg_f_type_ncm = {
|
struct usbg_function_type usbg_f_type_ncm = {
|
||||||
.name = "ncm",
|
.name = "ncm",
|
||||||
|
.os_desc_iname = ncm_os_desc_ifnames,
|
||||||
ETHER_FUNCTION_OPTS
|
ETHER_FUNCTION_OPTS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue