V4L/DVB (13844): smsdvb: Properly report the Delivery System
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 25 Dec 2009 10:17:03 +0000 (07:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:26 +0000 (15:10 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smsdvb.c

index 3b786de..36f8867 100644 (file)
@@ -494,6 +494,7 @@ static int smsdvb_dvbt_set_frontend(struct dvb_frontend *fe,
        client->fe_status = FE_HAS_SIGNAL;
        client->event_fe_state = -1;
        client->event_unc_state = -1;
+       fe->dtv_property_cache.delivery_system = SYS_DVBT;
 
        Msg.Msg.msgSrcId = DVBT_BDA_CONTROL_MSG_ID;
        Msg.Msg.msgDstId = HIF_TASK;
@@ -555,6 +556,8 @@ static int smsdvb_isdbt_set_frontend(struct dvb_frontend *fe,
                u32             Data[4];
        } Msg;
 
+       fe->dtv_property_cache.delivery_system = SYS_ISDBT;
+
        Msg.Msg.msgSrcId  = DVBT_BDA_CONTROL_MSG_ID;
        Msg.Msg.msgDstId  = HIF_TASK;
        Msg.Msg.msgFlags  = 0;