Changeset 5870 for lm-sensors/trunk/prog

Show
Ignore:
Timestamp:
10/19/10 22:06:45 (19 months ago)
Author:
groeck
Message:

Fix error seen in sensors-detect if i2c bus numbering is not sequential

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/detect/sensors-detect

    r5868 r5870  
    59385938        # we only load the adapter drivers which are useful. 
    59395939        foreach $adap (@i2c_adapters) { 
     5940                next unless defined $adap; 
    59405941                next if $adap->{autoload}; 
    59415942                next if $adap->{driver} eq 'UNKNOWN';