diff options
author | Michael Brown | 2017-07-03 14:38:55 +0200 |
---|---|---|
committer | Michael Brown | 2017-07-03 14:38:55 +0200 |
commit | 8e48d0df6b5a249e4f9f0759cc55a45af186b564 (patch) | |
tree | 70929b5441de37f12002fd110475cf18bd6b122e /src/hci | |
parent | [exanic] Add driver for Exablaze ExaNIC cards (diff) | |
download | ipxe-8e48d0df6b5a249e4f9f0759cc55a45af186b564.tar.gz ipxe-8e48d0df6b5a249e4f9f0759cc55a45af186b564.tar.xz ipxe-8e48d0df6b5a249e4f9f0759cc55a45af186b564.zip |
[usb] Use non-zero language ID to retrieve strings
We currently use a zero language ID to retrieve strings such as the
ECM/NCM MAC address. This works on most hardware devices, but is
known to fail on some software emulated CDC-NCM devices.
Fix by using the first supported language ID, falling back to English
(0x0409) if any error occurs when fetching the list of supported
languages. This matches the behaviour of the Linux kernel.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci')
0 files changed, 0 insertions, 0 deletions