Skip to content

fix: pass RNDIS MSOS descriptors to usbg_create_function#6

Open
NanCunChild wants to merge 1 commit intoHandsomeMod:mainfrom
NanCunChild:main
Open

fix: pass RNDIS MSOS descriptors to usbg_create_function#6
NanCunChild wants to merge 1 commit intoHandsomeMod:mainfrom
NanCunChild:main

Conversation

@NanCunChild
Copy link
Copy Markdown

The gc_rndis_create function correctly defined the f_os_desc struct containing the RNDIS compatible_id for Windows, but it was not being passed to usbg_create_function (the argument was NULL).

This one-line change passes the &f_os_desc struct to the function, correctly applying the MSOS descriptors to the RNDIS function. This allows modern Windows to automatically recognize the RNDIS device without manual driver installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant