Attention is currently required from: laforge. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/27398 )
Change subject: usb: Match device by VID/PID without path/addr if it is unique ......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1: This looks a bit dangerous. Because then the behavior of your program with the same config changes based on the amount of devices you have connected on your system. Not sure it's a good idea? If only the VID/PID is needed in that case I'd expect that to come from config explicitly (the user only specifies that one, and leave the path empty strlen()=0.