diff options
author | 2007-05-31 01:04:57 +0000 | |
---|---|---|
committer | 2007-05-31 01:04:57 +0000 | |
commit | 826322a363ca5ac807f9bba573231f96acc2cc90 (patch) | |
tree | 7b708c8e0e06f7af2dd533813a42c3bd6a70adcb /sys/dev/usb/uts.c | |
parent | 1000 != 0x1000 (4096) (diff) | |
download | wireguard-openbsd-826322a363ca5ac807f9bba573231f96acc2cc90.tar.xz wireguard-openbsd-826322a363ca5ac807f9bba573231f96acc2cc90.zip |
only call em_init() when IFF_UP is set, not unconditional.
prevents another round of autonegotiation (and thus, few seconds outage)
with every address change that had to be reintroduced a few revs ago
because of the watchdog timeout problems people were seeing.
this gives the benifit from both with the problems of neither ;)
tested by daniel polak on a system that saw the watchdog timeouts before
ok theo
Diffstat (limited to 'sys/dev/usb/uts.c')
0 files changed, 0 insertions, 0 deletions