Package Name
lpac
Maintainer
@blocktrron
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
all (bug is in patch source code, not target-specific)
Steps to Reproduce
- Set LPAC_QMI_DEV to a device other than /dev/cdc-wdm0 (e.g., /dev/cdc-wdm1)
- Run lpac with the uqmi APDU backend
- Observe that the --get-client-id command is sent to the wrong device and is malformed
Actual Behaviour
apdu_interface_connect() reads the device path from the LPAC_QMI_DEV environment variable into devpath, and all other uqmi_execute_command() calls in the driver use it correctly. However, uqmi_open_client() bypasses it entirely and always targets /dev/cdc-wdm0.
Confirmation Checklist
Package Name
lpac
Maintainer
@blocktrron
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
all (bug is in patch source code, not target-specific)
Steps to Reproduce
Actual Behaviour
apdu_interface_connect() reads the device path from the LPAC_QMI_DEV environment variable into devpath, and all other uqmi_execute_command() calls in the driver use it correctly. However, uqmi_open_client() bypasses it entirely and always targets /dev/cdc-wdm0.
Confirmation Checklist