igb: Fix NULL assignment to incorrect variable in igb_reset_q_vector
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Mon, 13 Apr 2015 09:15:11 +0000 (18:15 +0900)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 May 2015 12:11:29 +0000 (05:11 -0700)
commit2439fc4d71f71b47c8ace1f42eb46039222282a0
treed238aa343309dadbca5e6d19c2805852089dd9b7
parentc0a06ee185f2b785c7bd44c4fb6fcae80f7d1a54
igb: Fix NULL assignment to incorrect variable in igb_reset_q_vector

adapter->tx_ring is set to NULL where rx_ring should be.

Fixes: 5536d2102a2d ("igb: Combine q_vector and ring allocation into a single function")
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c