Commit 76421370280d49ddbf6ca39be0d0d87e9bac43f3

Authored by xiemeng
1 parent c12155ba

在写IMEI之前强制检测g_QC_value_from_phone标志位,

用来控制写IMEI的权限
Showing 1 changed file with 1 additions and 1 deletions
@@ -193,7 +193,7 @@ META_RESULT SmartPhoneSN::WriteNvramLoop() @@ -193,7 +193,7 @@ META_RESULT SmartPhoneSN::WriteNvramLoop()
193 { 193 {
194 bool bCheckPass = true; 194 bool bCheckPass = true;
195 bCheckPass = CheckCalFinalTestStatus(tmpBuf); 195 bCheckPass = CheckCalFinalTestStatus(tmpBuf);
196 - if (bCheckPass == true) 196 + if (bCheckPass == true && g_QC_value_from_phone == 1)
197 { 197 {
198 spNextStage = SP_BARCODE_MD_STAGE; 198 spNextStage = SP_BARCODE_MD_STAGE;
199 } 199 }
Please register or login to post a comment