BugID:19784257: support ota swap upgrade power-off protection
@@ -104,6 +104,7 @@ int recovery_flag_update()
flag = REC_RECOVERY_START;
break;
case REC_SWAP_UPDATE_FLAG :
+ rec_flag_set.flag = REC_SWAP_UPDATE_FLAG;
flag = REC_SWAP_UPDATE_START;
break;
case REC_ROLLBACK_FLAG :
