Skip to content

Conversation

@maxdos64
Copy link

@maxdos64 maxdos64 commented Jun 4, 2020

…via their

direct device id (result of `lsusb`)

Signed-off-by: Maximilian von Tschirschnitz maximilian.tschirschnitz@gmx.de

@mringwal
Copy link
Member

mringwal commented Jun 4, 2020

Thanks. How is the dev_addr variable set?

Maximilian von Tschirschnitz and others added 4 commits June 4, 2020 12:18
…via their

    direct device id (result of `lsusb`)

Signed-off-by: Maximilian von Tschirschnitz <maximilian.tschirschnitz@gmx.de>
This reverts commit 482618c.

Moved to a new branch
now its complete

Signed-off-by: Maximilian von Tschirschnitz <maximilian.tschirschnitz@gmx.de>
@mringwal
Copy link
Member

Hi. Could you try to extend the existing first if clause 'if (usb_path_len)' with 'if ((usb_path_len != 0) || ( dev_addr != 0) and then check if either usb path or device address matches? (It's better to avoid copy & paste code in the beginning than to try later to get rid of it...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants