Fix mistake in CXD2820R check.

This commit is contained in:
Adam Sutton 2012-12-06 19:47:32 +00:00
parent f22683e870
commit 5da648f447

View file

@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _GNU_SOURCE
#include <pthread.h>
#include <assert.h>
@ -511,7 +512,7 @@ tda_add(int adapter_num)
dvb_adapter_checkspeed(tda);
if(!strcmp(tda->tda_fe_info->name, "Sony CXD2820R"))
if(strcasestr(tda->tda_fe_info->name, "Sony CXD2820R"))
tda->tda_snr_valid = 1;
tvhlog(LOG_INFO, "dvb",