m1n1.hw.admac: Fix descriptor deserialization

Signed-off-by: Martin Povišer <povik@protonmail.com>
This commit is contained in:
Martin Povišer 2021-10-16 22:35:29 +02:00 committed by Hector Martin
parent 301ba75b6b
commit 8833696c69

View file

@ -123,7 +123,7 @@ class ADMACDescriptor(Reloadable):
return ADMACDescriptor(
seq[0] | seq[1] << 32, # addr
seq[2], # length (in bytes)
seq[3] # flags
**ADMACDescriptorFlags(seq[3]).fields
)