Navigation Menu

Skip to content

Commit

Permalink
[usb-moded] Detect rndis automagically in Windows Vista and later
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Sep 20, 2013
1 parent e59063b commit 7d31aab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usb_moded-android.c
Expand Up @@ -79,6 +79,8 @@ void android_init_values(void)
write_to_file("/sys/class/android_usb/f_rndis/ethaddr", text);
g_free((char *)text);
}
/* For rndis to be discovered correctly in M$ Windows (vista and later) */
write_to_file("/sys/class/android_usb/f_rndis/wceis", "1");
}

/* Set a charging mode for the android gadget
Expand Down

0 comments on commit 7d31aab

Please sign in to comment.