dvb: Don't steal transport when weight is equal (avoids ping-ponging of subscriptions)

This commit is contained in:
Andreas Öman 2008-09-20 06:39:44 +00:00
parent be0cc37dd8
commit d055ae6792

View file

@ -81,7 +81,7 @@ dvb_transport_start(th_transport_t *t, unsigned int weight, int status,
return 1; /* Not good enough signal here, can't use it */
w = transport_compute_weight(&tdmi->tdmi_adapter->tda_transports);
if(w > weight)
if(w >= weight)
return 1; /* We are outranked by weight, cant use it */
dvb_adapter_clean(tda);