Date: Tue, 9 Aug 2016 01:05:29 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r303862 - head/sys/contrib/dev/ath/ath_hal/ar9300 Message-ID: <201608090105.u7915TPi051813@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608090105.u7915TPi051813>