modemmanager: fix physdev sysfs path detection in PCIe modems
authorAleksander Morgado <aleksander@aleksander.es>
Tue, 9 Nov 2021 10:24:00 +0000 (11:24 +0100)
committerRosen Penev <rosenp@gmail.com>
Fri, 12 Nov 2021 19:00:04 +0000 (11:00 -0800)
commit9bc59425290d03e41699fe862132507716e18882
tree138c5e884952712ce14e68f3ddbb39f34988bc08
parent024ac2b040de92b59848b5cb9ac778a7c2f854a0
modemmanager: fix physdev sysfs path detection in PCIe modems

The PCIe physdev path lookup relies on the 'vendor' and 'device'
attribute files, instead of the 'idVendor' and 'idProduct' ones, which
are USB specific.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
net/modemmanager/files/modemmanager.common