mac80211: optimize mac address comparisons to improve performance
[openwrt.git] / package / ppp / patches / 205-no_exponential_timeout.patch
1 --- a/pppd/plugins/rp-pppoe/discovery.c
2 +++ b/pppd/plugins/rp-pppoe/discovery.c
3 @@ -548,7 +548,9 @@ discovery(PPPoEConnection *conn)
4 conn->discoveryState = STATE_SENT_PADI;
5 waitForPADO(conn, timeout);
6
7 +#if 0
8 timeout *= 2;
9 +#endif
10 } while (conn->discoveryState == STATE_SENT_PADI);
11
12 timeout = conn->discoveryTimeout;
13 @@ -563,7 +565,9 @@ discovery(PPPoEConnection *conn)
14 sendPADR(conn);
15 conn->discoveryState = STATE_SENT_PADR;
16 waitForPADS(conn, timeout);
17 +#if 0
18 timeout *= 2;
19 +#endif
20 } while (conn->discoveryState == STATE_SENT_PADR);
21
22 /* We're done. */
This page took 0.037128 seconds and 5 git commands to generate.