Commit 900a3260 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: rtl8732au_hal_init.c: Use rtl8723au_BT_coexist() to pick firmware image

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1305565c
...@@ -309,15 +309,15 @@ int rtl8723a_FirmwareDownload(struct rtw_adapter *padapter) ...@@ -309,15 +309,15 @@ int rtl8723a_FirmwareDownload(struct rtw_adapter *padapter)
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithoutBT for " DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithoutBT for "
"RTL8723A B CUT\n"); "RTL8723A B CUT\n");
} else { } else {
#ifdef CONFIG_8723AU_BT_COEXIST if (rtl8723a_BT_coexist(padapter)) {
fw_name = "rtlwifi/rtl8723aufw_B.bin"; fw_name = "rtlwifi/rtl8723aufw_B.bin";
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithBT for " DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithBT "
"RTL8723A B CUT\n"); "for RTL8723A B CUT\n");
#else } else {
fw_name = "rtlwifi/rtl8723aufw_B_NoBT.bin"; fw_name = "rtlwifi/rtl8723aufw_B_NoBT.bin";
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithoutBT for " DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithout "
"RTL8723A B CUT\n"); "BT for RTL8723A B CUT\n");
#endif }
} }
} else { } else {
/* <Roger_TODO> We should download proper RAM Code here /* <Roger_TODO> We should download proper RAM Code here
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment