On Wed, Jan 02, 2013 at 12:38:01AM +0000, Adrian Chadd wrote: > New Revision: 244943 > URL: http://svnweb.freebsd.org/changeset/base/244943 > > Log: > Bring over the basic spectral scan framework code from Qualcomm Atheros. > > This includes the HAL routines to setup, enable/activate/disable spectral > scan and configure the relevant registers. > > Obtained from: Qualcomm Atheros > > Added: > head/sys/dev/ath/ath_hal/ar5416/ar5416_spectral.c > > ... > + if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { > + val &= ~AR_PHY_SPECTRAL_SCAN_PERIOD; > + val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); > + } > + > + if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { > + val &= ~AR_PHY_SPECTRAL_SCAN_PERIOD; > + val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); > + }
PVS Studio complains here: warning: V581 The conditional expressions of the 'if' operators situated alongside each other are identical. ./danfe _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"