mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
small fix
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1514 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
8acfe8b884
commit
eff2db1ff4
@ -443,6 +443,8 @@ BOOL HWI_WriteHWSecureInfoFile( u8 region, const u8 *pSerialNo, BOOL isDisableWi
|
||||
// <20>”Žš8Œ…
|
||||
OS_GetMacAddress( buffer + 6 );
|
||||
SVC_CalcSHA1( serialNoNew, buffer, sizeof(buffer) );
|
||||
MI_CpuClear8( &serialNoNew[len], (u32)(LCFG_TWL_HWINFO_SERIALNO_LEN_MAX - len));
|
||||
|
||||
for( i = offset; i < len-1; i++ ) {
|
||||
serialNoNew[ i ] = (u8)( ( serialNoNew[ i ] % 10 ) + 0x30 );
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user