[media] smsusb: fix the default delivery system setting
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 1 Mar 2012 10:25:39 +0000 (07:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 1 Mar 2012 10:29:02 +0000 (07:29 -0300)
commit9bd58e77e656abe08f3f781d982bc9e29167e1c3
tree955b640fc31918ab652e4c456cf580673ea42902
parent4a98b212768a3ba98c6508e0d5ca7470d3bccec3
[media] smsusb: fix the default delivery system setting

There are two issues on the default delivery system setting for smsusb:

1) instead of filling the delivery system for the per-client
   frontend.ops, it were changing the global structure;

2) The client->frontend.ops copy were keeping the previous value
   of the template. So, the first time the device was inserted,
   it was using the wrong value.

Reported-by: Eddi De Pieri <eddi@depieri.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smsdvb.c