diff options
author | intel-ethernet <eric_mann@mail.intel.com> | 2013-06-25 10:57:20 -0700 |
---|---|---|
committer | intel-ethernet <eric_mann@mail.intel.com> | 2013-06-25 10:57:20 -0700 |
commit | 2a45241ee778dd684d409cef7dacd54289e14621 (patch) | |
tree | 6a1d94a3b6c78c0d617348e46828206e28892f0d | |
parent | 010045178575071d7f9e8671847ddd91b4f858d2 (diff) | |
download | Open-AVB-2a45241ee778dd684d409cef7dacd54289e14621.tar.gz |
Fix ptr dereference in igb_reset handler
-rw-r--r-- | lib/igb/igb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igb/igb.c b/lib/igb/igb.c index 1abb7ce8..e60f11b8 100644 --- a/lib/igb/igb.c +++ b/lib/igb/igb.c @@ -346,7 +346,7 @@ igb_reset(struct adapter *adapter) E1000_WRITE_REG(hw, E1000_TDT(i), 0); E1000_WRITE_REG(hw, E1000_TDH(i), 0); - txr[i].queue_status = IGB_QUEUE_IDLE; + txr->queue_status = IGB_QUEUE_IDLE; } } |