|
@@ -498,7 +498,7 @@ crc_err:
|
|
|
stats = per_cpu_ptr(lport->dev_stats, get_cpu());
|
|
|
stats->ErrorFrames++;
|
|
|
/* per cpu count, not total count, but OK for limit */
|
|
|
- if (stats->InvalidCRCCount++ < 5)
|
|
|
+ if (stats->InvalidCRCCount++ < FC_MAX_ERROR_CNT)
|
|
|
printk(KERN_WARNING "libfc: CRC error on data "
|
|
|
"frame for port (%6.6x)\n",
|
|
|
lport->port_id);
|