diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-30 19:23:25 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-30 19:23:25 +0200 |
commit | a63255ff23043196fce74f143a6ebc79184fcdf2 (patch) | |
tree | d9c9fe0d520d77eb366a02c8ba9d2760a129d991 /switch.h | |
parent | ed61a16faf025671d9ff751b827980cc44f9f088 (diff) |
add code for getting the primary interface
Diffstat (limited to 'switch.h')
-rw-r--r-- | switch.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,8 +6,10 @@ struct usbdev_data { struct libusb_device_descriptor desc; + struct libusb_config_descriptor *config; libusb_device_handle *devh; struct blob_attr *info; + int interface; char idstr[10]; char mfg[128], prod[128], serial[128]; |