]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Recently I realized that the ADMtek 8211 driver wasn't working correctly
authorwpaul <wpaul@FreeBSD.org>
Tue, 23 Mar 2004 19:51:17 +0000 (19:51 +0000)
committerwpaul <wpaul@FreeBSD.org>
Tue, 23 Mar 2004 19:51:17 +0000 (19:51 +0000)
commit8237685662973e006bf3fefaceaf577b995c4ca0
tree0e7b1567633ec58e89dcb783fa6afa8443a8d574
parentd67b54e11fc881dc65c2fe357510daed4ae92d31
Recently I realized that the ADMtek 8211 driver wasn't working correctly
(NIC would claim to establish a link with an ad-hoc net but it couldn't
send/receive packets). It turns out that every time the checkforhang
handler was called by ndis_ticktask(), the driver would generate a new
media connect event. The NDIS spec says the checkforhang handler is
called "approximately every 2 seconds" but using exactly 2 seconds seems
too fast. Using 3 seconds makes it happy again, so we'll go with that
for now.
sys/dev/if_ndis/if_ndis.c