aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libdvben50221/en50221_stdcam_llci.c
diff options
context:
space:
mode:
authorMark Purcell <msp@debian.org>2012-01-05 18:02:19 +1100
committeretobi <git@e-tobi.net>2013-09-03 09:48:50 +0200
commit1b69be1bfeb8a135b83d1b4950bc72cc2f866339 (patch)
tree0208563f86c100717fa8e9111bc32dea3be3439d /lib/libdvben50221/en50221_stdcam_llci.c
parentcad92a119d718c8bcd70e85865e08e66010f9347 (diff)
parent76c08672bc6c2984ebd7045a71862099890c9118 (diff)
downloadlinux-dvb-apps-1b69be1bfeb8a135b83d1b4950bc72cc2f866339.tar.gz
Imported Debian patch 1.1.1+rev1457-1debian/1.1.1+rev1457-1
Diffstat (limited to 'lib/libdvben50221/en50221_stdcam_llci.c')
-rw-r--r--lib/libdvben50221/en50221_stdcam_llci.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/libdvben50221/en50221_stdcam_llci.c b/lib/libdvben50221/en50221_stdcam_llci.c
index 2266bbf..b6ffad4 100644
--- a/lib/libdvben50221/en50221_stdcam_llci.c
+++ b/lib/libdvben50221/en50221_stdcam_llci.c
@@ -374,14 +374,21 @@ static int llci_session_callback(void *arg, int reason, uint8_t _slot_id, uint16
} else if (resource_id == EN50221_APP_MMI_RESOURCEID) {
llci->stdcam.mmi_session_number = session_number;
}
-
break;
- case S_SCALLBACK_REASON_CLOSE:
- if (resource_id == EN50221_APP_MMI_RESOURCEID) {
- llci->stdcam.mmi_session_number = -1;
- }
- break;
+ case S_SCALLBACK_REASON_CLOSE:
+ if (resource_id == EN50221_APP_MMI_RESOURCEID) {
+ llci->stdcam.mmi_session_number = -1;
+ } else if (resource_id == EN50221_APP_DATETIME_RESOURCEID) {
+ llci->datetime_session_number = -1;
+ } else if (resource_id == EN50221_APP_AI_RESOURCEID) {
+ llci->stdcam.ai_session_number = -1;
+ } else if (resource_id == EN50221_APP_CA_RESOURCEID) {
+ llci->stdcam.ca_session_number = -1;
+ } else if (resource_id == EN50221_APP_MMI_RESOURCEID) {
+ llci->stdcam.mmi_session_number = -1;
+ }
+ break;
}
return 0;
}