mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-16 21:58:27 +00:00
hv/trace_dcp.py: Fix reinitialization
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
1c2a2db1dd
commit
323e163eb4
1 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,12 @@ class AFKEp(EP):
|
|||
@msg(0xa1, DIR.TX, AFKEP_GetBuf_Ack)
|
||||
def GetBuf_Ack(self, msg):
|
||||
self.state.shmem_iova = msg.DVA
|
||||
self.txbuf = None
|
||||
self.rxbuf = None
|
||||
self.state.txbuf = EPState()
|
||||
self.state.rxbuf = EPState()
|
||||
self.state.txbuf_info = None
|
||||
self.state.rxbuf_info = None
|
||||
#self.add_mon()
|
||||
|
||||
@msg(0xa2, DIR.TX, AFKEP_Send)
|
||||
|
|
Loading…
Add table
Reference in a new issue