Commit fc2000be authored by Gerd Knorr's avatar Gerd Knorr Committed by Greg Kroah-Hartman

[PATCH] dsb usb radio fix

  This patch fixes stupid cut+paste bug in dsbr100.
parent 78abb0ee
...@@ -265,7 +265,8 @@ static int usb_dsbr100_do_ioctl(struct inode *inode, struct file *file, ...@@ -265,7 +265,8 @@ static int usb_dsbr100_do_ioctl(struct inode *inode, struct file *file,
case VIDIOCSFREQ: case VIDIOCSFREQ:
{ {
int *freq = arg; int *freq = arg;
*freq = radio->curfreq;
radio->curfreq = *freq;
if (dsbr100_setfreq(radio, radio->curfreq)==-1) if (dsbr100_setfreq(radio, radio->curfreq)==-1)
warn("set frequency failed"); warn("set frequency failed");
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment