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:
Larry Finger 2018-10-20 13:03:01 -05:00
parent b48387bdc8
commit 9fad4d2d0d
25 changed files with 133 additions and 144 deletions

View file

@ -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) {