mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
rtlwifi: Fix fallback firmware loading
Commitf70e4df2b3("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 commit62009b7f12("rtlwifi: rtl8192cu: Add new firmware") instead. Fixes:f70e4df2b3("rtlwifi: Add code to read new versions of firmware") Cc: stable@vger.kernel.org Signed-off-by: Sven Joachim <svenjoac@gmx.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
9ddb378b23
commit
1d9b168d8e
2 changed files with 10 additions and 24 deletions
Loading…
Add table
Add a link
Reference in a new issue