[Bugfix][T106BUG-263] Fota upgrade success but boot failed not start original system

Only Configure:No
Affected branch:master
Affected module:Fota
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update:No

Change-Id: I8bce28e3c41028051602214cceb9826eabf1e03e
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-qser-fota/lynq-qser-fota.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-qser-fota/lynq-qser-fota.cpp
index 3e3393e..53ee3c8 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-qser-fota/lynq-qser-fota.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-qser-fota/lynq-qser-fota.cpp
@@ -177,22 +177,7 @@
             LYINFLOG("set system B boot failed ");

             return -1;

         }

-

-         

-        ret = lynq_set_system_a_status((char *)UNBOOTABLE);

-        if(ret < 0)

-        {

-            LYINFLOG("Set system A status to [%s] error ", UNBOOTABLE);

-            return -1;

-        }

-

-        ret = lynq_set_system_b_status((char *)BOOTABLE);

-        if(ret < 0)

-        {

-            LYINFLOG("Set system B status to [%s] error ", BOOTABLE);

-            return -1;

-        }

-

+        

     }

     else if( current_slot == atoi(SYSTEM_B))

     {

@@ -206,21 +191,6 @@
             return -1;

         }

 

-        

-        ret = lynq_set_system_b_status((char *)UNBOOTABLE);

-        if(ret < 0)

-        {

-            LYINFLOG("Set system B status to [%s] error ", UNBOOTABLE);

-            return -1;

-        }

-

-        ret = lynq_set_system_a_status((char *)BOOTABLE);

-        if(ret < 0)

-        {

-            LYINFLOG("Set system A status to [%s] error ", BOOTABLE);

-            return -1;

-        }

-

     }

     

     fp = fopen(FOTA_FLAG_FILE,"w+");