diff mbox

[2/3] rtlwifi: rtl8192cu: debug message change "RTL8192CE" to "RTL8192CU"

Message ID 1433512898-30137-2-git-send-email-ap420073@gmail.com (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show

Commit Message

Taehee Yoo June 5, 2015, 2:01 p.m. UTC
In the rtlwifi/rtl8192cu, I change debug message "RTL8192CE" to
"RTL8192CU".

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

Comments

Larry Finger June 5, 2015, 3:33 p.m. UTC | #1
On 06/05/2015 09:01 AM, Taehee Yoo wrote:
> In the rtlwifi/rtl8192cu, I change debug message "RTL8192CE" to
> "RTL8192CU".
>
> Signed-off-by: Taehee Yoo <ap420073@gmail.com>
> ---
>   drivers/net/wireless/rtlwifi/rtl8192cu/phy.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)

I am not sure that anyone ever uses this level of debug, but the changes are OK.

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

Larry

>
> diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c b/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
> index 12f6d47..5534dad 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
> @@ -162,7 +162,7 @@ bool _rtl92cu_phy_config_mac_with_headerfile(struct ieee80211_hw *hw)
>   	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Read Rtl819XMACPHY_Array\n");
>   	arraylength =  rtlphy->hwparam_tables[MAC_REG].length ;
>   	ptrarray = rtlphy->hwparam_tables[MAC_REG].pdata;
> -	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Img:RTL8192CEMAC_2T_ARRAY\n");
> +	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Img:RTL8192CUMAC_2T_ARRAY\n");
>   	for (i = 0; i < arraylength; i = i + 2)
>   		rtl_write_byte(rtlpriv, ptrarray[i], (u8) ptrarray[i + 1]);
>   	return true;
> @@ -259,18 +259,18 @@ bool rtl92cu_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
>   		radiob_arraylen = rtlphy->hwparam_tables[RADIOB_2T].length;
>   		radiob_array_table = rtlphy->hwparam_tables[RADIOB_2T].pdata;
>   		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
> -			 "Radio_A:RTL8192CERADIOA_2TARRAY\n");
> +			 "Radio_A:RTL8192CURADIOA_2TARRAY\n");
>   		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
> -			 "Radio_B:RTL8192CE_RADIOB_2TARRAY\n");
> +			 "Radio_B:RTL8192CU_RADIOB_2TARRAY\n");
>   	} else {
>   		radioa_arraylen = rtlphy->hwparam_tables[RADIOA_1T].length;
>   		radioa_array_table = rtlphy->hwparam_tables[RADIOA_1T].pdata;
>   		radiob_arraylen = rtlphy->hwparam_tables[RADIOB_1T].length;
>   		radiob_array_table = rtlphy->hwparam_tables[RADIOB_1T].pdata;
>   		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
> -			 "Radio_A:RTL8192CE_RADIOA_1TARRAY\n");
> +			 "Radio_A:RTL8192CU_RADIOA_1TARRAY\n");
>   		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
> -			 "Radio_B:RTL8192CE_RADIOB_1TARRAY\n");
> +			 "Radio_B:RTL8192CU_RADIOB_1TARRAY\n");
>   	}
>   	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Radio No %x\n", rfpath);
>   	switch (rfpath) {
>

--
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/phy.c b/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
index 12f6d47..5534dad 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/phy.c
@@ -162,7 +162,7 @@  bool _rtl92cu_phy_config_mac_with_headerfile(struct ieee80211_hw *hw)
 	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Read Rtl819XMACPHY_Array\n");
 	arraylength =  rtlphy->hwparam_tables[MAC_REG].length ;
 	ptrarray = rtlphy->hwparam_tables[MAC_REG].pdata;
-	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Img:RTL8192CEMAC_2T_ARRAY\n");
+	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Img:RTL8192CUMAC_2T_ARRAY\n");
 	for (i = 0; i < arraylength; i = i + 2)
 		rtl_write_byte(rtlpriv, ptrarray[i], (u8) ptrarray[i + 1]);
 	return true;
@@ -259,18 +259,18 @@  bool rtl92cu_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
 		radiob_arraylen = rtlphy->hwparam_tables[RADIOB_2T].length;
 		radiob_array_table = rtlphy->hwparam_tables[RADIOB_2T].pdata;
 		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-			 "Radio_A:RTL8192CERADIOA_2TARRAY\n");
+			 "Radio_A:RTL8192CURADIOA_2TARRAY\n");
 		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-			 "Radio_B:RTL8192CE_RADIOB_2TARRAY\n");
+			 "Radio_B:RTL8192CU_RADIOB_2TARRAY\n");
 	} else {
 		radioa_arraylen = rtlphy->hwparam_tables[RADIOA_1T].length;
 		radioa_array_table = rtlphy->hwparam_tables[RADIOA_1T].pdata;
 		radiob_arraylen = rtlphy->hwparam_tables[RADIOB_1T].length;
 		radiob_array_table = rtlphy->hwparam_tables[RADIOB_1T].pdata;
 		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-			 "Radio_A:RTL8192CE_RADIOA_1TARRAY\n");
+			 "Radio_A:RTL8192CU_RADIOA_1TARRAY\n");
 		RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-			 "Radio_B:RTL8192CE_RADIOB_1TARRAY\n");
+			 "Radio_B:RTL8192CU_RADIOB_1TARRAY\n");
 	}
 	RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "Radio No %x\n", rfpath);
 	switch (rfpath) {