svn commit: r348331 - head/sys/dev/ath/ath_hal

Adrian Chadd adrian at FreeBSD.org
Tue May 28 18:05:12 UTC 2019


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 at 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;
 }
 


More information about the svn-src-head mailing list