diff options
author | John Crispin <blogic@openwrt.org> | 2014-08-24 20:15:01 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-08-24 20:15:59 +0200 |
commit | 993a9a542791953c4804f7ddbb3a07756738e37a (patch) | |
tree | 7e46cd607dd9c2536fc728f44b43eb2eb8ed32f2 /main.c | |
parent | 01ecc3b9764d1dd89cf36ede0a2d98f9adb0cd33 (diff) |
add a mbim eject handler
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -261,6 +261,8 @@ static void iterate_devs(cmd_cb_t cb) if (libusb_open(usbdevs[i], &data.devh)) continue; + data.dev = usbdevs[i]; + libusb_get_string_descriptor_ascii( data.devh, data.desc.iManufacturer, (void *) data.mfg, sizeof(data.mfg)); |