Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gc_rndis.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int gc_rndis_create(int argc,char *argv[],gc_generic_info info)
.sub_compatible_id = "5162001",
};

usbg_ret = usbg_create_function(gadget,USBG_F_RNDIS,id,NULL,&f_rndis);
usbg_ret = usbg_create_function(gadget,USBG_F_RNDIS,id,&f_os_desc,&f_rndis);
if(usbg_ret != USBG_SUCCESS){
fprintf(stderr,"failed to create rndis function! (maybe kernel module not loaded?) \n");
gc_clean();
Expand Down