svn commit: r303862 - head/sys/contrib/dev/ath/ath_hal/ar9300
Adrian Chadd
adrian at FreeBSD.org
Tue Aug 9 01:05:30 UTC 2016
Author: adrian
Date: Tue Aug 9 01:05:29 2016
New Revision: 303862
URL: https://svnweb.freebsd.org/changeset/base/303862
Log:
[ar9300] don't program a negative readytime.
Modified:
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c Mon Aug 8 23:18:27 2016 (r303861)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c Tue Aug 9 01:05:29 2016 (r303862)
@@ -447,6 +447,8 @@ ar9300_reset_tx_queue(struct ath_hal *ah
*/
if (value < 10)
value = 10;
+ if (value < 0)
+ value = 10;
HALDEBUG(ah, HAL_DEBUG_TXQUEUE,
"%s: defaulting to rdytime = %d uS\n",
__func__, value);
More information about the svn-src-head
mailing list