diff mbox

rtlwifi: rtl8192cu: Set fw_ready flag

Message ID 1422100540-6338-1-git-send-email-ap420073@gmail.com (mailing list archive)
State Accepted
Delegated to: Kalle Valo
Headers show

Commit Message

Taehee Yoo Jan. 24, 2015, 11:55 a.m. UTC
After rtl8192cu download firmware routine, set fw_ready flag.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
 drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Larry Finger Jan. 24, 2015, 4:51 p.m. UTC | #1
On 01/24/2015 05:55 AM, Taehee Yoo wrote:
> After rtl8192cu download firmware routine, set fw_ready flag.
>
> Signed-off-by: Taehee Yoo <ap420073@gmail.com>
> ---
>   drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 3 +++
>   1 file changed, 3 insertions(+)

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>

Thanks,

Larry

>
> diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> index 5513217..2468850 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> @@ -1000,6 +1000,7 @@ int rtl92cu_hw_init(struct ieee80211_hw *hw)
>   	local_save_flags(flags);
>   	local_irq_enable();
>
> +	rtlhal->fw_ready = false;
>   	rtlhal->hw_type = HARDWARE_TYPE_RTL8192CU;
>   	err = _rtl92cu_init_mac(hw);
>   	if (err) {
> @@ -1013,6 +1014,8 @@ int rtl92cu_hw_init(struct ieee80211_hw *hw)
>   		err = 1;
>   		goto exit;
>   	}
> +
> +	rtlhal->fw_ready = true;
>   	rtlhal->last_hmeboxnum = 0; /* h2c */
>   	_rtl92cu_phy_param_tab_init(hw);
>   	rtl92cu_phy_mac_config(hw);
>

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Larry Finger Jan. 25, 2015, 7:39 p.m. UTC | #2
On 01/24/2015 05:55 AM, Taehee Yoo wrote:
> After rtl8192cu download firmware routine, set fw_ready flag.
>
> Signed-off-by: Taehee Yoo <ap420073@gmail.com>
> ---
>   drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 3 +++
>   1 file changed, 3 insertions(+)

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>

Thanks,

Larry

>
> diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> index 5513217..2468850 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> @@ -1000,6 +1000,7 @@ int rtl92cu_hw_init(struct ieee80211_hw *hw)
>   	local_save_flags(flags);
>   	local_irq_enable();
>
> +	rtlhal->fw_ready = false;
>   	rtlhal->hw_type = HARDWARE_TYPE_RTL8192CU;
>   	err = _rtl92cu_init_mac(hw);
>   	if (err) {
> @@ -1013,6 +1014,8 @@ int rtl92cu_hw_init(struct ieee80211_hw *hw)
>   		err = 1;
>   		goto exit;
>   	}
> +
> +	rtlhal->fw_ready = true;
>   	rtlhal->last_hmeboxnum = 0; /* h2c */
>   	_rtl92cu_phy_param_tab_init(hw);
>   	rtl92cu_phy_mac_config(hw);
>

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kalle Valo Jan. 27, 2015, 6:20 p.m. UTC | #3
> 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>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
index 5513217..2468850 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
@@ -1000,6 +1000,7 @@  int rtl92cu_hw_init(struct ieee80211_hw *hw)
 	local_save_flags(flags);
 	local_irq_enable();
 
+	rtlhal->fw_ready = false;
 	rtlhal->hw_type = HARDWARE_TYPE_RTL8192CU;
 	err = _rtl92cu_init_mac(hw);
 	if (err) {
@@ -1013,6 +1014,8 @@  int rtl92cu_hw_init(struct ieee80211_hw *hw)
 		err = 1;
 		goto exit;
 	}
+
+	rtlhal->fw_ready = true;
 	rtlhal->last_hmeboxnum = 0; /* h2c */
 	_rtl92cu_phy_param_tab_init(hw);
 	rtl92cu_phy_mac_config(hw);