diff options
author | Alex Woods <devnull@localhost> | 2003-07-13 18:33:25 +0000 |
---|---|---|
committer | Alex Woods <devnull@localhost> | 2003-07-13 18:33:25 +0000 |
commit | 532a8fde5c412450d7fd10ce3c2acd6c112de09b (patch) | |
tree | 816824547d80be97823088e2634a35859627d443 /linux | |
parent | 66cf003d9e81bf8743ca26eaf3c1dcf8d268666e (diff) | |
download | mediapointer-dvb-s2-532a8fde5c412450d7fd10ce3c2acd6c112de09b.tar.gz mediapointer-dvb-s2-532a8fde5c412450d7fd10ce3c2acd6c112de09b.tar.bz2 |
Check more reliable field to decide on whether to upload firmware or not.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c index 663cce947..dd3b5fc27 100644 --- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c @@ -742,8 +742,7 @@ static void ttusb_dec_init_stb(struct ttusb_dec *dec) result = ttusb_dec_send_command(dec, 0x08, 0, NULL, &c_length, c); if (!result) - if (c_length == 0x10 || /* f/w v0.78 */ - (c_length == 0x0c && c[0] != 0xff)) /* f/w v1.05 */ + if (c_length != 0x0c || (c_length == 0x0c && c[9] != 0x63)) ttusb_dec_boot_dsp(dec); } |