Properly set W in the new internal RS backend. Without this, the fragment length

passed up is incorrect.
This commit is contained in:
Kevin Greenan
2015-06-18 14:17:22 -07:00
parent 410f40a7e7
commit ae13e4224f

View File

@@ -159,7 +159,7 @@ static void * internal_rs_vand_init(struct ec_backend_args *args,
desc->m = args->uargs.m;
/* 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
// than anyone should ever use