Skip to content

Commit

Permalink
Fix txdesc bug in intel_mp driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola 'tekNico' Larosa authored and takikawa committed Aug 16, 2017
1 parent 7217501 commit 50fcf69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/intel_mp/intel_mp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ function Intel:discard_unsent_packets ()
old_tdt = band(old_tdt - 1, self.ndesc - 1)
packet.free(self.txqueue[old_tdt])
self.txdesc[old_tdt].address = -1
self.txdesc[old_tdt].options = 0
self.txdesc[old_tdt].flags = 0
end
self.tdt = self.tdh
end
Expand Down

0 comments on commit 50fcf69

Please sign in to comment.