mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 18:42:14 -04:00
staging: rtl8723au: rtl8732au_hal_init.c: Use rtl8723au_BT_coexist() to pick firmware image
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1305565cfa
commit
900a3260fb
@@ -309,15 +309,15 @@ int rtl8723a_FirmwareDownload(struct rtw_adapter *padapter)
|
||||
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithoutBT for "
|
||||
"RTL8723A B CUT\n");
|
||||
} else {
|
||||
#ifdef CONFIG_8723AU_BT_COEXIST
|
||||
fw_name = "rtlwifi/rtl8723aufw_B.bin";
|
||||
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithBT for "
|
||||
"RTL8723A B CUT\n");
|
||||
#else
|
||||
fw_name = "rtlwifi/rtl8723aufw_B_NoBT.bin";
|
||||
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithoutBT for "
|
||||
"RTL8723A B CUT\n");
|
||||
#endif
|
||||
if (rtl8723a_BT_coexist(padapter)) {
|
||||
fw_name = "rtlwifi/rtl8723aufw_B.bin";
|
||||
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithBT "
|
||||
"for RTL8723A B CUT\n");
|
||||
} else {
|
||||
fw_name = "rtlwifi/rtl8723aufw_B_NoBT.bin";
|
||||
DBG_8723A(" Rtl8723_FwUMCBCutImageArrayWithout "
|
||||
"BT for RTL8723A B CUT\n");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/* <Roger_TODO> We should download proper RAM Code here
|
||||
|
||||
Reference in New Issue
Block a user