OSDN Git Service

rtlwifi: Add code to read new versions of firmware
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 23 Feb 2017 17:19:56 +0000 (11:19 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 17:10:15 +0000 (19:10 +0200)
commitf70e4df2b384d21e36a7c30a591639592692e0ec
treef620384685fc07263efc2e591f3c80f7c06f085b
parente6042859302eb43ff788df909626090d23ab416e
rtlwifi: Add code to read new versions of firmware

Changes in the drivers for RTL8723BE and RTL8821AE require corresponding
changes in the firmware. This new firmware has been accepted into the
Linux firmware repo. To handle the case where the kernel has been
updated before the firmware, the new versions have been given new names.
The code will attempt to read the new name, and fall back to the old one
if the new one is not available.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c