mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 14:03:05 +00:00
rtl8188eu: Slow the spamming of the logs
A number of unconditional print statements are converted to conditional. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
b48387bdc8
commit
9fad4d2d0d
25 changed files with 133 additions and 144 deletions
|
@ -2024,10 +2024,10 @@ static sint validate_80211w_mgmt(_adapter *adapter, union recv_frame *precv_fram
|
|||
/* dump the packet content before decrypt */
|
||||
{
|
||||
int pp;
|
||||
printk("pattrib->pktlen = %d =>", pattrib->pkt_len);
|
||||
RTW_INFO("pattrib->pktlen = %d =>", pattrib->pkt_len);
|
||||
for (pp = 0; pp < pattrib->pkt_len; pp++)
|
||||
printk(" %02x ", ptr[pp]);
|
||||
printk("\n");
|
||||
RTW_INFO(" %02x ", ptr[pp]);
|
||||
RTW_INFO("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -2043,10 +2043,10 @@ static sint validate_80211w_mgmt(_adapter *adapter, union recv_frame *precv_fram
|
|||
/* print packet content after decryption */
|
||||
{
|
||||
int pp;
|
||||
printk("after decryption pattrib->pktlen = %d @@=>", pattrib->pkt_len);
|
||||
RTW_INFO("after decryption pattrib->pktlen = %d @@=>", pattrib->pkt_len);
|
||||
for (pp = 0; pp < pattrib->pkt_len; pp++)
|
||||
printk(" %02x ", ptr[pp]);
|
||||
printk("\n");
|
||||
RTW_INFO(" %02x ", ptr[pp]);
|
||||
RTW_INFO("\n");
|
||||
}
|
||||
#endif
|
||||
if (!precv_frame) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue