diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index aa2d64f58ed..89aa4862178 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -8237,7 +8237,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy) for (i = 0; i < TG3_RSS_INDIR_TBL_SIZE; i++) { int idx = i % sizeof(val); - ent[idx] = (i % (tp->irq_cnt - 1)) + 1; + ent[idx] = i % (tp->irq_cnt - 1); if (idx == sizeof(val) - 1) { tw32(reg, val); reg += 4; |