rtlwifi: rtl8192cu: Set fw_ready flag
After rtl8192cu download firmware routine, set fw_ready flag. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
1fe192d8d6
commit
314112e002
|
@ -1000,6 +1000,7 @@ int rtl92cu_hw_init(struct ieee80211_hw *hw)
|
||||||
local_save_flags(flags);
|
local_save_flags(flags);
|
||||||
local_irq_enable();
|
local_irq_enable();
|
||||||
|
|
||||||
|
rtlhal->fw_ready = false;
|
||||||
rtlhal->hw_type = HARDWARE_TYPE_RTL8192CU;
|
rtlhal->hw_type = HARDWARE_TYPE_RTL8192CU;
|
||||||
err = _rtl92cu_init_mac(hw);
|
err = _rtl92cu_init_mac(hw);
|
||||||
if (err) {
|
if (err) {
|
||||||
|
@ -1013,6 +1014,8 @@ int rtl92cu_hw_init(struct ieee80211_hw *hw)
|
||||||
err = 1;
|
err = 1;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rtlhal->fw_ready = true;
|
||||||
rtlhal->last_hmeboxnum = 0; /* h2c */
|
rtlhal->last_hmeboxnum = 0; /* h2c */
|
||||||
_rtl92cu_phy_param_tab_init(hw);
|
_rtl92cu_phy_param_tab_init(hw);
|
||||||
rtl92cu_phy_mac_config(hw);
|
rtl92cu_phy_mac_config(hw);
|
||||||
|
|
Loading…
Reference in New Issue