git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove warning
[enigma2.git]
/
lib
/
dvb
/
frontend.cpp
diff --git
a/lib/dvb/frontend.cpp
b/lib/dvb/frontend.cpp
index e3bd5bc68b6d70b67c99d91316186f1861653340..e495b1c5a079f4afe0c9d7a92a18dfd3bc72c5d6 100644
(file)
--- a/
lib/dvb/frontend.cpp
+++ b/
lib/dvb/frontend.cpp
@@
-1680,6
+1680,12
@@
RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where)
int res=0;
+ if (!m_sn)
+ {
+ eDebug("no frontend device opened... do not try to tune !!!");
+ return -ENODEV;
+ }
+
if (m_type == -1)
return -ENODEV;