Azbox: openxcas is used even if HAVE_DVBAPI is not defined
|Reported by:||hperez||Owned by:|
In the Azbox the openxcas open and close functions are used even if HAVE_DVBAPI is not defined. I think in that case the openxcas functions shouldn't be called.
Additionally there's another issue, to open openxcas the function openxcas_open_with_smartcard is used even if WITH_CARDREADER is not defined. I think the cardreader shouldn't be used at all if oscam is compiled without cardreader support.
I attach a patch for both issues.