Don't fail to tune if request weight == 0 and we are just idlescanning
Ticket #175
This commit is contained in:
parent
5e20573581
commit
8424ade4d5
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ dvb_transport_start(th_transport_t *t, unsigned int weight, int force_start)
|
|||
tda->tda_hostconnection == HOSTCONNECTION_USB12)) {
|
||||
|
||||
w = transport_compute_weight(&tda->tda_transports);
|
||||
if(w >= weight && !force_start)
|
||||
if(w && w >= weight && !force_start)
|
||||
/* We are outranked by weight, cant use it */
|
||||
return SM_CODE_NOT_FREE;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue