2010/3/16 Dan Carpenter <erro...@gmail.com>: > drivers/net/wireless/ath/ath5k/phy.c +2603 > ath5k_combine_pwr_to_pdadc_curves(66) > > 2587 /* If pdadc_0 is negative, we need to extrapolate > 2588 * below this pdgain by a number of pwr_steps */ > 2589 while ((pdadc_0 < 0) && (pdadc_i < 128)) { > > If pdadc_i ever hits 128 here then that could cause problems on > line 2603.
That would mean that the whole thing would be negative and i don't think that's possible but just to be sure we can change that check to pdadc_i < 127 (HAL doesn't even have such check, it only checks pdadc_0 < 0). -- GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel