summaryrefslogtreecommitdiffstats
path: root/fastboot/usb_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastboot/usb_windows.c')
-rw-r--r--fastboot/usb_windows.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fastboot/usb_windows.c b/fastboot/usb_windows.c
index 9c0a9cb..54008a4 100644
--- a/fastboot/usb_windows.c
+++ b/fastboot/usb_windows.c
@@ -301,6 +301,7 @@ int recognized_device(usb_handle* handle, ifc_match_func callback) {
info.ifc_class = interf_desc.bInterfaceClass;
info.ifc_subclass = interf_desc.bInterfaceSubClass;
info.ifc_protocol = interf_desc.bInterfaceProtocol;
+ info.writable = 1;
// read serial number (if there is one)
unsigned long serial_number_len = sizeof(info.serial_number);