Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2019 18:05:11 +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: r348331 - head/sys/dev/ath/ath_hal
Message-ID:  <201905281805.x4SI5BUA093954@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Tue May 28 18:05:10 2019
New Revision: 348331
URL: https://svnweb.freebsd.org/changeset/base/348331

Log:
  [ath_hal] Fix queue bits a bit
  
  Found by PVS Studio: duplicate assignment; add assignment of tqi_compBuf.
  
  Submitted by:	<mizhka@gmail.com>
  Differential Revision:	https://reviews.freebsd.org/D20431

Modified:
  head/sys/dev/ath/ath_hal/ah.c

Modified: head/sys/dev/ath/ath_hal/ah.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.c	Tue May 28 17:31:35 2019	(r348330)
+++ head/sys/dev/ath/ath_hal/ah.c	Tue May 28 18:05:10 2019	(r348331)
@@ -1127,7 +1127,6 @@ ath_hal_getTxQProps(struct ath_hal *ah,
 		return AH_FALSE;
 	}
 
-	qInfo->tqi_qflags = qi->tqi_qflags;
 	qInfo->tqi_ver = qi->tqi_ver;
 	qInfo->tqi_subtype = qi->tqi_subtype;
 	qInfo->tqi_qflags = qi->tqi_qflags;
@@ -1141,6 +1140,7 @@ ath_hal_getTxQProps(struct ath_hal *ah,
 	qInfo->tqi_cbrOverflowLimit = qi->tqi_cbrOverflowLimit;
 	qInfo->tqi_burstTime = qi->tqi_burstTime;
 	qInfo->tqi_readyTime = qi->tqi_readyTime;
+	qInfo->tqi_compBuf = qi->tqi_physCompBuf;
 	return AH_TRUE;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905281805.x4SI5BUA093954>