diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/az6027.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/az6027.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/az6027.c b/drivers/media/dvb/dvb-usb/az6027.c index baaa301c5768..6681ac1c56e3 100644 --- a/drivers/media/dvb/dvb-usb/az6027.c +++ b/drivers/media/dvb/dvb-usb/az6027.c | |||
@@ -701,10 +701,7 @@ static int az6027_ci_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int o | |||
701 | } else | 701 | } else |
702 | ret = 0; | 702 | ret = 0; |
703 | 703 | ||
704 | if (b[0] == 0) { | 704 | if (!ret && b[0] == 1) { |
705 | ret = 0; | ||
706 | |||
707 | } else if (b[0] == 1) { | ||
708 | ret = DVB_CA_EN50221_POLL_CAM_PRESENT | | 705 | ret = DVB_CA_EN50221_POLL_CAM_PRESENT | |
709 | DVB_CA_EN50221_POLL_CAM_READY; | 706 | DVB_CA_EN50221_POLL_CAM_READY; |
710 | } | 707 | } |