diff options
author | Joe Perches <joe@perches.com> | 2012-01-04 22:40:40 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-24 14:06:06 -0500 |
commit | af08687b4e6d44dcdb04b519e718eb58ecb99050 (patch) | |
tree | b7f72ff8e447b049bfdc47ec5c234d3ac5936c74 /drivers/net | |
parent | 884dd24499df823f5c167223c7ae93bd764e2e4f (diff) |
rtlwifi: Standardize RT_PRINT_DATA macro and uses
Use a single printk(KERN_DEBUG to emit the header line
to avoid any possible output interleaving.
Remove unnecessary parentheses from the calling uses.
Standardize header arg without trailing \n or colon.
Fix a few pairwiase/pairwise typos.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rtlwifi/debug.h | 7 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/efuse.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c | 9 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/hw.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/trx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192de/fw.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192de/hw.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192de/trx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192se/hw.c | 4 |
12 files changed, 23 insertions, 26 deletions
diff --git a/drivers/net/wireless/rtlwifi/debug.h b/drivers/net/wireless/rtlwifi/debug.h index 802c491b3d86..588986a1e213 100644 --- a/drivers/net/wireless/rtlwifi/debug.h +++ b/drivers/net/wireless/rtlwifi/debug.h | |||
@@ -189,10 +189,9 @@ do { \ | |||
189 | do { \ | 189 | do { \ |
190 | if (unlikely(((_comp) & rtlpriv->dbg.global_debugcomponents) && \ | 190 | if (unlikely(((_comp) & rtlpriv->dbg.global_debugcomponents) && \ |
191 | (_level <= rtlpriv->dbg.global_debuglevel))) { \ | 191 | (_level <= rtlpriv->dbg.global_debuglevel))) { \ |
192 | printk(KERN_DEBUG "%s: ", KBUILD_MODNAME); \ | 192 | printk(KERN_DEBUG "%s: In process \"%s\" (pid %i): %s\n", \ |
193 | pr_cont("In process \"%s\" (pid %i):", \ | 193 | KBUILD_MODNAME, current->comm, current->pid, \ |
194 | current->comm, current->pid); \ | 194 | _titlestring); \ |
195 | printk(_titlestring); \ | ||
196 | print_hex_dump_bytes("", DUMP_PREFIX_NONE, \ | 195 | print_hex_dump_bytes("", DUMP_PREFIX_NONE, \ |
197 | _hexdata, _hexdatalen); \ | 196 | _hexdata, _hexdatalen); \ |
198 | } \ | 197 | } \ |
diff --git a/drivers/net/wireless/rtlwifi/efuse.c b/drivers/net/wireless/rtlwifi/efuse.c index ed1058b71587..91fd3639d737 100644 --- a/drivers/net/wireless/rtlwifi/efuse.c +++ b/drivers/net/wireless/rtlwifi/efuse.c | |||
@@ -478,7 +478,7 @@ bool efuse_shadow_update(struct ieee80211_hw *hw) | |||
478 | &rtlefuse->efuse_map[EFUSE_MODIFY_MAP][base], | 478 | &rtlefuse->efuse_map[EFUSE_MODIFY_MAP][base], |
479 | 8); | 479 | 8); |
480 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_LOUD, | 480 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_LOUD, |
481 | ("U-efuse\n"), tmpdata, 8); | 481 | "U-efuse", tmpdata, 8); |
482 | 482 | ||
483 | if (!efuse_pg_packet_write(hw, (u8) offset, word_en, | 483 | if (!efuse_pg_packet_write(hw, (u8) offset, word_en, |
484 | tmpdata)) { | 484 | tmpdata)) { |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c b/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c index 931d97979b04..5401b32733d3 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c +++ b/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c | |||
@@ -570,7 +570,7 @@ void rtl92c_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 mode) | |||
570 | ppsc->reg_max_lps_awakeintvl); | 570 | ppsc->reg_max_lps_awakeintvl); |
571 | 571 | ||
572 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, | 572 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, |
573 | "rtl92c_set_fw_rsvdpagepkt(): u1_h2c_set_pwrmode\n", | 573 | "rtl92c_set_fw_rsvdpagepkt(): u1_h2c_set_pwrmode", |
574 | u1_h2c_set_pwrmode, 3); | 574 | u1_h2c_set_pwrmode, 3); |
575 | rtl92c_fill_h2c_cmd(hw, H2C_SETPWRMODE, 3, u1_h2c_set_pwrmode); | 575 | rtl92c_fill_h2c_cmd(hw, H2C_SETPWRMODE, 3, u1_h2c_set_pwrmode); |
576 | 576 | ||
@@ -780,10 +780,10 @@ void rtl92c_set_fw_rsvdpagepkt(struct ieee80211_hw *hw, bool dl_finished) | |||
780 | totalpacketlen = TOTAL_RESERVED_PKT_LEN; | 780 | totalpacketlen = TOTAL_RESERVED_PKT_LEN; |
781 | 781 | ||
782 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, | 782 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, |
783 | "rtl92c_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL\n", | 783 | "rtl92c_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL", |
784 | &reserved_page_packet[0], totalpacketlen); | 784 | &reserved_page_packet[0], totalpacketlen); |
785 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, | 785 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, |
786 | "rtl92c_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL\n", | 786 | "rtl92c_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL", |
787 | u1RsvdPageLoc, 3); | 787 | u1RsvdPageLoc, 3); |
788 | 788 | ||
789 | 789 | ||
@@ -800,8 +800,7 @@ void rtl92c_set_fw_rsvdpagepkt(struct ieee80211_hw *hw, bool dl_finished) | |||
800 | RT_TRACE(rtlpriv, COMP_POWER, DBG_LOUD, | 800 | RT_TRACE(rtlpriv, COMP_POWER, DBG_LOUD, |
801 | ("Set RSVD page location to Fw.\n")); | 801 | ("Set RSVD page location to Fw.\n")); |
802 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, | 802 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, |
803 | "H2C_RSVDPAGE:\n", | 803 | "H2C_RSVDPAGE", u1RsvdPageLoc, 3); |
804 | u1RsvdPageLoc, 3); | ||
805 | rtl92c_fill_h2c_cmd(hw, H2C_RSVDPAGE, | 804 | rtl92c_fill_h2c_cmd(hw, H2C_RSVDPAGE, |
806 | sizeof(u1RsvdPageLoc), u1RsvdPageLoc); | 805 | sizeof(u1RsvdPageLoc), u1RsvdPageLoc); |
807 | } else | 806 | } else |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c index a3deaefa788c..2156378de1e8 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c | |||
@@ -1570,7 +1570,7 @@ static void _rtl92ce_read_adapter_info(struct ieee80211_hw *hw) | |||
1570 | ("RTL819X Not boot from eeprom, check it !!")); | 1570 | ("RTL819X Not boot from eeprom, check it !!")); |
1571 | } | 1571 | } |
1572 | 1572 | ||
1573 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_DMESG, ("MAP\n"), | 1573 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_DMESG, "MAP", |
1574 | hwinfo, HWSET_MAX_SIZE); | 1574 | hwinfo, HWSET_MAX_SIZE); |
1575 | 1575 | ||
1576 | eeprom_id = *((u16 *)&hwinfo[0]); | 1576 | eeprom_id = *((u16 *)&hwinfo[0]); |
@@ -2134,7 +2134,7 @@ void rtl92ce_set_key(struct ieee80211_hw *hw, u32 key_index, | |||
2134 | ("add one entry\n")); | 2134 | ("add one entry\n")); |
2135 | if (is_pairwise) { | 2135 | if (is_pairwise) { |
2136 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, | 2136 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, |
2137 | "Pairwiase Key content :", | 2137 | "Pairwise Key content", |
2138 | rtlpriv->sec.pairwise_key, | 2138 | rtlpriv->sec.pairwise_key, |
2139 | rtlpriv->sec. | 2139 | rtlpriv->sec. |
2140 | key_len[PAIRWISE_KEYIDX]); | 2140 | key_len[PAIRWISE_KEYIDX]); |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c index 4fb5ae24dee0..378bc5673464 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | |||
@@ -821,8 +821,7 @@ void rtl92ce_tx_fill_cmddesc(struct ieee80211_hw *hw, | |||
821 | } | 821 | } |
822 | 822 | ||
823 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, | 823 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, |
824 | "H2C Tx Cmd Content\n", | 824 | "H2C Tx Cmd Content", pdesc, TX_DESC_SIZE); |
825 | pdesc, TX_DESC_SIZE); | ||
826 | } | 825 | } |
827 | 826 | ||
828 | void rtl92ce_set_desc(u8 *pdesc, bool istx, u8 desc_name, u8 *val) | 827 | void rtl92ce_set_desc(u8 *pdesc, bool istx, u8 desc_name, u8 *val) |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c index 124cf633861c..778c0e6e836b 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | |||
@@ -496,7 +496,7 @@ static void _rtl92cu_read_adapter_info(struct ieee80211_hw *hw) | |||
496 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, | 496 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, |
497 | ("RTL819X Not boot from eeprom, check it !!")); | 497 | ("RTL819X Not boot from eeprom, check it !!")); |
498 | } | 498 | } |
499 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_LOUD, ("MAP\n"), | 499 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_LOUD, "MAP", |
500 | hwinfo, HWSET_MAX_SIZE); | 500 | hwinfo, HWSET_MAX_SIZE); |
501 | eeprom_id = le16_to_cpu(*((__le16 *)&hwinfo[0])); | 501 | eeprom_id = le16_to_cpu(*((__le16 *)&hwinfo[0])); |
502 | if (eeprom_id != RTL8190_EEPROM_ID) { | 502 | if (eeprom_id != RTL8190_EEPROM_ID) { |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c b/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c index 9e0c8fcdf90f..487ee908d7c5 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | |||
@@ -331,7 +331,7 @@ void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index, | |||
331 | ("add one entry\n")); | 331 | ("add one entry\n")); |
332 | if (is_pairwise) { | 332 | if (is_pairwise) { |
333 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, | 333 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, |
334 | "Pairwiase Key content :", | 334 | "Pairwise Key content", |
335 | rtlpriv->sec.pairwise_key, | 335 | rtlpriv->sec.pairwise_key, |
336 | rtlpriv->sec. | 336 | rtlpriv->sec. |
337 | key_len[PAIRWISE_KEYIDX]); | 337 | key_len[PAIRWISE_KEYIDX]); |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c b/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c index b3cc7b949992..128cfcd09fa9 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c | |||
@@ -677,7 +677,7 @@ void rtl92cu_tx_fill_cmddesc(struct ieee80211_hw *hw, | |||
677 | SET_TX_DESC_HWSEQ_EN(pdesc, 1); | 677 | SET_TX_DESC_HWSEQ_EN(pdesc, 1); |
678 | SET_TX_DESC_PKT_ID(pdesc, 8); | 678 | SET_TX_DESC_PKT_ID(pdesc, 8); |
679 | } | 679 | } |
680 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, "H2C Tx Cmd Content\n", | 680 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, "H2C Tx Cmd Content", |
681 | pdesc, RTL_TX_DESC_SIZE); | 681 | pdesc, RTL_TX_DESC_SIZE); |
682 | } | 682 | } |
683 | 683 | ||
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/fw.c b/drivers/net/wireless/rtlwifi/rtl8192de/fw.c index 82f060bdbc0b..db6972ffe503 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192de/fw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192de/fw.c | |||
@@ -565,7 +565,7 @@ void rtl92d_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 mode) | |||
565 | SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(u1_h2c_set_pwrmode, | 565 | SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(u1_h2c_set_pwrmode, |
566 | ppsc->reg_max_lps_awakeintvl); | 566 | ppsc->reg_max_lps_awakeintvl); |
567 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, | 567 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, |
568 | "rtl92d_set_fw_rsvdpagepkt(): u1_h2c_set_pwrmode\n", | 568 | "rtl92d_set_fw_rsvdpagepkt(): u1_h2c_set_pwrmode", |
569 | u1_h2c_set_pwrmode, 3); | 569 | u1_h2c_set_pwrmode, 3); |
570 | rtl92d_fill_h2c_cmd(hw, H2C_SETPWRMODE, 3, u1_h2c_set_pwrmode); | 570 | rtl92d_fill_h2c_cmd(hw, H2C_SETPWRMODE, 3, u1_h2c_set_pwrmode); |
571 | } | 571 | } |
@@ -757,10 +757,10 @@ void rtl92d_set_fw_rsvdpagepkt(struct ieee80211_hw *hw, bool dl_finished) | |||
757 | SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(u1RsvdPageLoc, PROBERSP_PG); | 757 | SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(u1RsvdPageLoc, PROBERSP_PG); |
758 | totalpacketlen = TOTAL_RESERVED_PKT_LEN; | 758 | totalpacketlen = TOTAL_RESERVED_PKT_LEN; |
759 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, | 759 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, |
760 | "rtl92d_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL\n", | 760 | "rtl92d_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL", |
761 | &reserved_page_packet[0], totalpacketlen); | 761 | &reserved_page_packet[0], totalpacketlen); |
762 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, | 762 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, |
763 | "rtl92d_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL\n", | 763 | "rtl92d_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL", |
764 | u1RsvdPageLoc, 3); | 764 | u1RsvdPageLoc, 3); |
765 | skb = dev_alloc_skb(totalpacketlen); | 765 | skb = dev_alloc_skb(totalpacketlen); |
766 | memcpy((u8 *) skb_put(skb, totalpacketlen), &reserved_page_packet, | 766 | memcpy((u8 *) skb_put(skb, totalpacketlen), &reserved_page_packet, |
@@ -773,7 +773,7 @@ void rtl92d_set_fw_rsvdpagepkt(struct ieee80211_hw *hw, bool dl_finished) | |||
773 | RT_TRACE(rtlpriv, COMP_POWER, DBG_LOUD, | 773 | RT_TRACE(rtlpriv, COMP_POWER, DBG_LOUD, |
774 | ("Set RSVD page location to Fw.\n")); | 774 | ("Set RSVD page location to Fw.\n")); |
775 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, | 775 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_DMESG, |
776 | "H2C_RSVDPAGE:\n", u1RsvdPageLoc, 3); | 776 | "H2C_RSVDPAGE", u1RsvdPageLoc, 3); |
777 | rtl92d_fill_h2c_cmd(hw, H2C_RSVDPAGE, | 777 | rtl92d_fill_h2c_cmd(hw, H2C_RSVDPAGE, |
778 | sizeof(u1RsvdPageLoc), u1RsvdPageLoc); | 778 | sizeof(u1RsvdPageLoc), u1RsvdPageLoc); |
779 | } else | 779 | } else |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/hw.c b/drivers/net/wireless/rtlwifi/rtl8192de/hw.c index c8c4cf9240d3..5c8a639582ad 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192de/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192de/hw.c | |||
@@ -1777,7 +1777,7 @@ static void _rtl92de_read_adapter_info(struct ieee80211_hw *hw) | |||
1777 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, | 1777 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, |
1778 | ("RTL819X Not boot from eeprom, check it !!")); | 1778 | ("RTL819X Not boot from eeprom, check it !!")); |
1779 | } | 1779 | } |
1780 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_DMESG, ("MAP\n"), | 1780 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_DMESG, "MAP", |
1781 | hwinfo, HWSET_MAX_SIZE); | 1781 | hwinfo, HWSET_MAX_SIZE); |
1782 | 1782 | ||
1783 | eeprom_id = *((u16 *)&hwinfo[0]); | 1783 | eeprom_id = *((u16 *)&hwinfo[0]); |
@@ -2279,7 +2279,7 @@ void rtl92de_set_key(struct ieee80211_hw *hw, u32 key_index, | |||
2279 | ("add one entry\n")); | 2279 | ("add one entry\n")); |
2280 | if (is_pairwise) { | 2280 | if (is_pairwise) { |
2281 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, | 2281 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, |
2282 | "Pairwiase Key content :", | 2282 | "Pairwise Key content", |
2283 | rtlpriv->sec.pairwise_key, | 2283 | rtlpriv->sec.pairwise_key, |
2284 | rtlpriv-> | 2284 | rtlpriv-> |
2285 | sec.key_len[PAIRWISE_KEYIDX]); | 2285 | sec.key_len[PAIRWISE_KEYIDX]); |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/trx.c b/drivers/net/wireless/rtlwifi/rtl8192de/trx.c index 3637c0c33525..e84b8d5e4b1b 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192de/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8192de/trx.c | |||
@@ -776,7 +776,7 @@ void rtl92de_tx_fill_cmddesc(struct ieee80211_hw *hw, | |||
776 | } | 776 | } |
777 | 777 | ||
778 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, | 778 | RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, |
779 | "H2C Tx Cmd Content\n", pdesc, TX_DESC_SIZE); | 779 | "H2C Tx Cmd Content", pdesc, TX_DESC_SIZE); |
780 | wmb(); | 780 | wmb(); |
781 | SET_TX_DESC_OWN(pdesc, 1); | 781 | SET_TX_DESC_OWN(pdesc, 1); |
782 | } | 782 | } |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/hw.c b/drivers/net/wireless/rtlwifi/rtl8192se/hw.c index c474486e3911..f9ba077bc18f 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192se/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192se/hw.c | |||
@@ -1636,7 +1636,7 @@ static void _rtl92se_read_adapter_info(struct ieee80211_hw *hw) | |||
1636 | HWSET_MAX_SIZE_92S); | 1636 | HWSET_MAX_SIZE_92S); |
1637 | } | 1637 | } |
1638 | 1638 | ||
1639 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_DMESG, ("MAP\n"), | 1639 | RT_PRINT_DATA(rtlpriv, COMP_INIT, DBG_DMESG, "MAP", |
1640 | hwinfo, HWSET_MAX_SIZE_92S); | 1640 | hwinfo, HWSET_MAX_SIZE_92S); |
1641 | 1641 | ||
1642 | eeprom_id = *((u16 *)&hwinfo[0]); | 1642 | eeprom_id = *((u16 *)&hwinfo[0]); |
@@ -2453,7 +2453,7 @@ void rtl92se_set_key(struct ieee80211_hw *hw, u32 key_index, u8 *p_macaddr, | |||
2453 | ("add one entry\n")); | 2453 | ("add one entry\n")); |
2454 | if (is_pairwise) { | 2454 | if (is_pairwise) { |
2455 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, | 2455 | RT_PRINT_DATA(rtlpriv, COMP_SEC, DBG_LOUD, |
2456 | "Pairwiase Key content :", | 2456 | "Pairwise Key content", |
2457 | rtlpriv->sec.pairwise_key, | 2457 | rtlpriv->sec.pairwise_key, |
2458 | rtlpriv->sec.key_len[PAIRWISE_KEYIDX]); | 2458 | rtlpriv->sec.key_len[PAIRWISE_KEYIDX]); |
2459 | 2459 | ||