[linux-oem,6/8] UBUNTU: SAUCE: rtl8821ce-bt: append device ID to config filename

Message ID 1515673046-27805-7-git-send-email-jesse.sung@canonical.com
State New
Headers show
Series
  • Support Realtek RTL8821CE WiFi and Bluetooth
Related show

Commit Message

Wen-chien Jesse Sung Jan. 11, 2018, 12:17 p.m.
BugLink: https://launchpad.net/bugs/1742613

Although different modules using this chip share the same firmware file
rtl8821cu_fw, they may need different rtl8821cu_config. Append device
ID to filename to make it possible to ship several config files in one
image.

Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
---
 ubuntu/rtl8821ce-bt/rtk_bt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/ubuntu/rtl8821ce-bt/rtk_bt.c b/ubuntu/rtl8821ce-bt/rtk_bt.c
index 1c7f86d..db12ab4 100644
--- a/ubuntu/rtl8821ce-bt/rtk_bt.c
+++ b/ubuntu/rtl8821ce-bt/rtk_bt.c
@@ -1673,7 +1673,7 @@  static patch_info fw_patch_table[] = {
 	{0xd723, 0x8723, "mp_rtl8723du_fw", "rtl8723du_fw", "rtl8723du_config", NULL, 0}, /* RTL8723DU */
 	{0xb820, 0x8821, "mp_rtl8821cu_fw", "rtl8821cu_fw", "rtl8821cu_config", NULL, 0 }, /* RTL8821CU */
 	{0xc820, 0x8821, "mp_rtl8821cu_fw", "rtl8821cu_fw", "rtl8821cu_config", NULL, 0 }, /* RTL8821CU */
-	{0xb00a, 0x8821, "mp_rtl8821cu_fw", "rtl8821cu_fw", "rtl8821cu_config", NULL, 0 }, /* RTL8821CE */
+	{0xb00a, 0x8821, "mp_rtl8821cu_fw", "rtl8821cu_fw", "rtl8821cu_config_0bda_b00a", NULL, 0 }, /* RTL8821CE */
 
 /* NOTE: must append patch entries above the null entry */
 	{0, 0, NULL, NULL, NULL, NULL, 0}