Commit 392efa6
committed
net_if: begin fixing issues
- it may happen that net_if_up is never called on iface inside of the
begin function, forcing it if the netif is not up
- it may happen that the dhcpv4 address is already bound before the wait
for the event is started, avoid that as it may be reported as an error
- removed wait forever in dhcp wait event listener in favor of 10s which
seems enough in order to report the error to the user and let him
start the retrial procedure1 parent 78a49f3 commit 392efa6
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
110 | | - | |
111 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
112 | 119 | | |
113 | 120 | | |
114 | 121 | | |
| |||
0 commit comments