File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
drivers/net/wireless/realtek/rtlwifi/rtl8192ce Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ int rtl92c_init_sw_vars(struct ieee80211_hw *hw)
92
92
struct rtl_priv * rtlpriv = rtl_priv (hw );
93
93
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
94
94
struct rtl_hal * rtlhal = rtl_hal (rtl_priv (hw ));
95
- char * fw_name = "rtlwifi/rtl8192cfwU.bin" ;
95
+ char * fw_name ;
96
96
97
97
rtl8192ce_bt_reg_init (hw );
98
98
@@ -164,8 +164,13 @@ int rtl92c_init_sw_vars(struct ieee80211_hw *hw)
164
164
}
165
165
166
166
/* request fw */
167
- if (IS_81XXC_VENDOR_UMC_B_CUT (rtlhal -> version ))
167
+ if (IS_VENDOR_UMC_A_CUT (rtlhal -> version ) &&
168
+ !IS_92C_SERIAL (rtlhal -> version ))
169
+ fw_name = "rtlwifi/rtl8192cfwU.bin" ;
170
+ else if (IS_81XXC_VENDOR_UMC_B_CUT (rtlhal -> version ))
168
171
fw_name = "rtlwifi/rtl8192cfwU_B.bin" ;
172
+ else
173
+ fw_name = "rtlwifi/rtl8192cfw.bin" ;
169
174
170
175
rtlpriv -> max_fw_size = 0x4000 ;
171
176
pr_info ("Using firmware %s\n" , fw_name );
You can’t perform that action at this time.
0 commit comments