Properly set W in the new internal RS backend. Without this, the fragment length
passed up is incorrect.
This commit is contained in:
@@ -159,7 +159,7 @@ static void * internal_rs_vand_init(struct ec_backend_args *args,
|
|||||||
desc->m = args->uargs.m;
|
desc->m = args->uargs.m;
|
||||||
|
|
||||||
/* store w back in args so upper layer can get to it */
|
/* store w back in args so upper layer can get to it */
|
||||||
desc->w = 16; // w is currently hard-coded at 16
|
args->uargs.w = desc->w = 16; // w is currently hard-coded at 16
|
||||||
|
|
||||||
// This check should not matter, since 64K is way higher
|
// This check should not matter, since 64K is way higher
|
||||||
// than anyone should ever use
|
// than anyone should ever use
|
||||||
|
|||||||
Reference in New Issue
Block a user