projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af2d45
)
libdvbv5: Actually check for lock
author
Gregor Jasny
<gjasny@googlemail.com>
Wed, 31 Jul 2013 19:44:11 +0000
(21:44 +0200)
committer
Gregor Jasny
<gjasny@googlemail.com>
Wed, 31 Jul 2013 19:44:11 +0000
(21:44 +0200)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
lib/libdvbv5/dvb-fe.c
patch
|
blob
|
history
diff --git
a/lib/libdvbv5/dvb-fe.c
b/lib/libdvbv5/dvb-fe.c
index
408423f
..
d62355d
100644
(file)
--- a/
lib/libdvbv5/dvb-fe.c
+++ b/
lib/libdvbv5/dvb-fe.c
@@
-1131,7
+1131,7
@@
int dvb_fe_get_stats(struct dvb_v5_fe_parms *parms)
/* if lock has obtained, get DVB parameters */
if (status != parms->stats.prev_status) {
- if (
status && FE_HAS_LOCK
&&
+ if (
(status & FE_HAS_LOCK)
&&
parms->stats.prev_status != status)
dvb_fe_get_parms(parms);
parms->stats.prev_status = status;