Luca Weiss 98d162c9ff translate: Fix firmware path for 'fallback' case
The dirname() function can and will modify the parameter, so if we call
dirname() twice on the same firmware_value parameter we will get
separate results messing up our names.

Copy the firmware_value value before passing it to dirname(). Also let's
just do this operation once to save copy-pasting some code.

Fixes: a4c755d ("Use firmware path from sysfs")
2024-04-08 22:31:59 +02:00
2020-02-07 10:43:39 -08:00
2019-03-15 11:34:42 -07:00
2024-01-19 11:52:32 +01:00
Description
No description provided
BSD-3-Clause 135 KiB
Languages
C 96.1%
Meson 3.9%