http://downloads.netgear.com/files/GPL/DM111PSP_v3.61d_GPL.tar.gz
[bcm963xx.git] / userapps / opensource / ppp / pppoe / auth.c
index 9e8d2b7..8a98b4f 100755 (executable)
@@ -660,15 +660,7 @@ auth_withpeer_fail(unit, protocol)
     create_msg(BCM_PPPOE_AUTH_FAILED); 
     syslog(LOG_ERR,"User name and password authentication failed.\n");
     }
-
-    if (autoscanP2) {
-    maxfail=0;
     persist=0;
-    }
-    else {
-    unsuccess++;
-    persist=1;
-    }
 }
 
 /*
@@ -694,8 +686,6 @@ auth_withpeer_success(unit, protocol)
        bit = 0;
     }
 
-    persist=1;  // for autoscan
-
     /*
      * If there is no more authentication still being done,
      * proceed to the network (or callback) phase.
@@ -720,7 +710,6 @@ np_up(unit, proto)
         */
        status = EXIT_OK;
        unsuccess = 0;
-        holdoff = 10;
        new_phase(PHASE_RUNNING);
 
        if (idle_time_hook != 0)