]> git.proxmox.com Git - mirror_linux-firmware.git/commit
check_whence.py: Add support for filenames with spaces in them
authorHans de Goede <hdegoede@redhat.com>
Thu, 13 Dec 2018 16:35:11 +0000 (17:35 +0100)
committerJosh Boyer <jwboyer@kernel.org>
Tue, 18 Dec 2018 20:35:55 +0000 (15:35 -0500)
commitbe15035deb64042d594f3ee7a1623db1694f92b2
tree82cb1c01294033f28ad53fb2f94826fe3ca8908e
parente6b9001e91110c654573b8f8e2db6155d10d3b57
check_whence.py: Add support for filenames with spaces in them

Some vendors save a couple of cents by not including an eeprom for
wifi parameters on their boards. Instead the driver loads these board
specific parameters through the request_firmware mechanism.

Since these are board specific the filenames also must be board specific,
on x86 DMI strings are used for this and the wifi chipname is postfixed
with $sys_vendor-$product_name from the DMI tables. These DMi variables
may contain spaces.

This commit adds support to check_whence.py for filenames with spaces
in them, after this commit these can be specified by putting double-quotes
around them, e.g "name with spaces.bin".

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
check_whence.py