mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
zapit: return 0 in CFrontend::getBitErrorRate for broken drivers
This commit is contained in:
@@ -376,6 +376,8 @@ uint32_t CFrontend::getBitErrorRate(void) const
|
||||
{
|
||||
uint32_t ber = 0;
|
||||
fop(ioctl, FE_READ_BER, &ber);
|
||||
if (ber > 100000000) /* azbox minime driver has useless values around 500.000.000 */
|
||||
ber = 0;
|
||||
|
||||
return ber;
|
||||
}
|
||||
|
Reference in New Issue
Block a user