7 May 2009 21:35
revision 4018 committed
Pavel Roskin <svn-commits <at> madwifi.org>
2009-05-07 19:35:22 GMT
2009-05-07 19:35:22 GMT
Project : madwifi
Revision : 4018
Author : proski (Pavel Roskin)
Date : 2009-05-07 21:35:22 +0200 (Thu, 07 May 2009)
Log Message :
Fix a warning in ar5416GetGainBoundariesAndPdadcs
If numXpdGains is 0, minPwrT4[0] would not be initialized. Make sure
numXpdGains is more than 0.
Affected Files:
* madwifi/trunk/ath_hal/ar5416/ar5416_reset.c updated
Modified: madwifi/trunk/ath_hal/ar5416/ar5416_reset.c
===================================================================
--- madwifi/trunk/ath_hal/ar5416/ar5416_reset.c 2009-04-28 06:12:40 UTC (rev 4017)
+++ madwifi/trunk/ath_hal/ar5416/ar5416_reset.c 2009-05-07 19:35:22 UTC (rev 4018)
<at> <at> -2596,6 +2596,11 <at> <at>
int16_t minDelta = 0;
CHAN_CENTERS centers;
+ if (numXpdGains > 0) {
+ HALASSERT(0);
+ return;
+ }
+
ar5416GetChannelCenters(ah, chan, ¢ers);
/* Trim numPiers for the number of populated channel Piers */
(Continue reading)
RSS Feed