wimax restore should not be on by default

Change-Id: I1e1869e615905ce6dbefd0b1a8e64414f619508e
diff --git a/extendedcommands.c b/extendedcommands.c
index 3113ab8..d9589a4 100644
--- a/extendedcommands.c
+++ b/extendedcommands.c
@@ -337,7 +337,7 @@
         return;
 
     if (confirm_selection("Confirm restore?", "Yes - Restore"))
-        nandroid_restore(file, 1, 1, 1, 1, 1, 1);
+        nandroid_restore(file, 1, 1, 1, 1, 1, 0);
 }
 
 void show_mount_usb_storage_menu()
@@ -651,7 +651,12 @@
                             "Restore wimax",
                             NULL
     };
-
+    
+    char tmp[PATH_MAX];
+    if (0 != get_partition_device("wimax", tmp)) {
+        // disable wimax restore option
+        list[5] = NULL;
+    }
 
     static char* confirm_restore  = "Confirm restore?";
 
@@ -1002,7 +1007,7 @@
     ui_print("in case of error.\n");
 
     nandroid_backup(backup_path);
-    nandroid_restore(backup_path, 1, 1, 1, 1, 1, 1);
+    nandroid_restore(backup_path, 1, 1, 1, 1, 1, 0);
     ui_set_show_text(0);
 }