aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libdvben50221
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:47 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:47 +0200
commit76c08672bc6c2984ebd7045a71862099890c9118 (patch)
tree31e3232493a151138c510886eb97ad4362623357 /lib/libdvben50221
parent9fe4d4ea9c054e539ab679ed2e9c076c35beb69d (diff)
downloadlinux-dvb-apps-76c08672bc6c2984ebd7045a71862099890c9118.tar.gz
Imported Upstream version 1.1.1+rev1457upstream/1.1.1+rev1457
Diffstat (limited to 'lib/libdvben50221')
-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;
}