linux_dvb.c: output "Tuning failed" in dvb status page rather than nothing when we have no lock

parent 12bcc291
...@@ -459,6 +459,8 @@ void E_(FrontendStatus)( access_t *p_access ) ...@@ -459,6 +459,8 @@ void E_(FrontendStatus)( access_t *p_access )
CHECK_STATUS( HAS_SYNC ); CHECK_STATUS( HAS_SYNC );
CHECK_STATUS( HAS_LOCK ); CHECK_STATUS( HAS_LOCK );
CHECK_STATUS( REINIT ); CHECK_STATUS( REINIT );
if( i_status == 0 )
p += sprintf( p, "<tr><td>Tuning failed</td></tr>\n" );
#undef CHECK_STATUS #undef CHECK_STATUS
if ( i_status & FE_HAS_LOCK ) if ( i_status & FE_HAS_LOCK )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment