Re: [v2] rtlwifi: Fix fallback firmware loading
From: Kalle Valo <hidden>
Date: 2017-08-03 09:36:23
Sven Joachim [off-list ref] wrote:
Commit f70e4df2b384 ("rtlwifi: Add code to read new versions of
firmware") added code to load an old firmware file if the new one is
not available. Unfortunately that code is never reached because
request_firmware_nowait() does not wait for the firmware to show up
and returns 0 even if the file is not there.
Use the existing fallback mechanism introduced by commit 62009b7f1279
("rtlwifi: rtl8192cu: Add new firmware") instead.
Fixes: f70e4df2b384 ("rtlwifi: Add code to read new versions of firmware")
Cc: stable@vger.kernel.org
Signed-off-by: Sven Joachim <redacted>Patch applied to wireless-drivers-next.git, thanks. 1d9b168d8ea9 rtlwifi: Fix fallback firmware loading -- https://patchwork.kernel.org/patch/9872413/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches