patch-2.1.30 linux/drivers/net/soundmodem/sm_afsk1200.c

Next file: linux/drivers/net/soundmodem/sm_sbc.c
Previous file: linux/drivers/net/soundmodem/sm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/drivers/net/soundmodem/sm_afsk1200.c linux/drivers/net/soundmodem/sm_afsk1200.c
@@ -81,8 +81,6 @@
  */
 
 
-
-
 #if defined (CONFIG_SOUNDMODEM__AFSK1200_FP) && (defined(CONFIG_M586) || defined(CONFIG_M686))
 
 
@@ -143,10 +141,10 @@
 	memmove(st->filt.f+1, st->filt.f,sizeof(st->filt.f) - sizeof(st->filt.f[0]));
 	st->filt.f[0] = (((int)newval)-0x80);
 
-	sum = convolution8(st->filt.f, afsk12_tx_lo_i);
-	sum += convolution8(st->filt.f, afsk12_tx_lo_q);
-	sum -= convolution8(st->filt.f, afsk12_tx_hi_i);
-	sum -= convolution8(st->filt.f, afsk12_tx_hi_q);
+	sum = convolution8(st->filt.f, afsk12_tx_lo_i_f);
+	sum += convolution8(st->filt.f, afsk12_tx_lo_q_f);
+	sum -= convolution8(st->filt.f, afsk12_tx_hi_i_f);
+	sum -= convolution8(st->filt.f, afsk12_tx_hi_q_f);
 	return sum;
 }
 

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]