[trivial patch] dsb radio fix

From: Gerd Knorr (kraxel@bytesex.org)
Date: Tue Oct 29 2002 - 12:06:14 EST


  Hi,

This patch fixes a stupid cut+paste bug in dsbr100 ...

  Gerd

==============================[ cut here ]==============================
--- linux-2.5.44/drivers/usb/media/dsbr100.c Wed Oct 23 18:53:55 2002
+++ linux/drivers/usb/media/dsbr100.c Wed Oct 23 18:54:50 2002
@@ -265,7 +265,8 @@
                 case VIDIOCSFREQ:
                 {
                         int *freq = arg;
- *freq = radio->curfreq;
+
+ radio->curfreq = *freq;
                         if (dsbr100_setfreq(radio, radio->curfreq)==-1)
                                 warn("set frequency failed");
                         return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:42 EST