Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 07/22/2004 20:06:05
Module Name:	src
Committed By:	mycroft
Date:		Thu Jul 22 20:06:05 UTC 2004

Modified Files:
	src/sys/dev/ic: wi.c wivar.h

Log Message:
Rework the rate-lowering hack:
* Update sc_txpending[] when a packet is written, even before we issue the TX
  command, since it may be active when we issue the TX command for the
  following packet.
* Do not lower the rate in ni_txrate or id_rateidx, because these are used to
  keep track of sc_txpending[], and could cause us to get "stuck" at the lower
  rate.


To generate a diff of this commit:
cvs rdiff -r1.170 -r1.171 src/sys/dev/ic/wi.c
cvs rdiff -r1.43 -r1.44 src/sys/dev/ic/wivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.