]> git.sesse.net Git - vlc/commitdiff
* modules/access/dvb/linux_dvb.c: Fixed support of Nexus-S, patch courtesy
authorChristophe Massiot <massiot@videolan.org>
Thu, 7 Jul 2005 09:07:16 +0000 (09:07 +0000)
committerChristophe Massiot <massiot@videolan.org>
Thu, 7 Jul 2005 09:07:16 +0000 (09:07 +0000)
   of Michael Ditum.

modules/access/dvb/linux_dvb.c

index 38386590fb714a5d78fc02e070b4b5f7b57105d9..7599f20b2f767001a1021cfa609b761cff2e7acb 100644 (file)
@@ -1164,7 +1164,7 @@ int E_(CAMOpen)( access_t *p_access )
     }
 
     if ( ioctl( p_sys->i_ca_handle, CA_GET_CAP, &caps ) != 0
-          || caps.slot_num == 0 || caps.slot_type != CA_CI_LINK )
+          || caps.slot_num == 0 || !(caps.slot_type & CA_CI_LINK) )
     {
         msg_Err( p_access, "CAMInit: no compatible CAM module" );
         close( p_sys->i_ca_handle );