NCP22/32: map internal trustee rights to NCP22 access mask
All checks were successful
Source release / source-package (push) Successful in 44s
All checks were successful
Source release / source-package (push) Successful in 44s
This commit is contained in:
@@ -1468,7 +1468,8 @@ static int handle_ncp_serv(void)
|
||||
}
|
||||
|
||||
if (result > -1) {
|
||||
U16_TO_16(result, xdata->eff_rights);
|
||||
int ncp22_rights = trustee_v3_to_ncp22_rights(result);
|
||||
U16_TO_16(ncp22_rights, xdata->eff_rights);
|
||||
data_len = sizeof(struct XDATA);
|
||||
} else completition = (uint8)(-result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user