diff options
Diffstat (limited to 'sys/dev/if_ndis/if_ndis.c')
-rw-r--r-- | sys/dev/if_ndis/if_ndis.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c index f89d766cd33a..2952405e19bd 100644 --- a/sys/dev/if_ndis/if_ndis.c +++ b/sys/dev/if_ndis/if_ndis.c @@ -1428,12 +1428,13 @@ ndis_init(xsc) /* * Some drivers don't set this value. The NDIS spec says - * the default checkforhang timeout is approximately 2 - * seconds. + * the default checkforhang timeout is "approximately 2 + * seconds." We use 3 seconds, because it seems for some + * drivers, exactly 2 seconds is too fast. */ if (sc->ndis_block.nmb_checkforhangsecs == 0) - sc->ndis_block.nmb_checkforhangsecs = 2; + sc->ndis_block.nmb_checkforhangsecs = 3; sc->ndis_stat_ch = timeout(ndis_tick, sc, hz * sc->ndis_block.nmb_checkforhangsecs); |