mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
Revert "WIFI-2152: Allow re-trying a failed upgrade"
This reverts commit d6d45ba609.
This commit is contained in:
@@ -43,8 +43,6 @@ if [ "$?" != "0" ] ; then
|
||||
uci set system.tip.inactivefw="${FW_BACKUP}"
|
||||
uci commit system
|
||||
echo "$0: Sysupgrade failed."
|
||||
rm /tmp/sysupgrade.meta
|
||||
rm /tmp/upgrade.*
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
--- a/src/um/src/um_ovsdb.c
|
||||
+++ b/src/um/src/um_ovsdb.c
|
||||
@@ -356,7 +356,8 @@ static void callback_AWLAN_Node(
|
||||
//TODO Is there something that needs to be done here?
|
||||
}
|
||||
|
||||
- if(awlan_node->upgrade_timer_changed){
|
||||
+ if(awlan_node->upgrade_timer_changed
|
||||
+ || ((awlan_node->firmware_url_changed) && (strlen(awlan_node->firmware_url) > 0))) {
|
||||
if (awlan_node->upgrade_timer > 0)
|
||||
{
|
||||
/* if there is active timer, stop it to set new value */
|
||||
Reference in New Issue
Block a user