device: Check positive device filter correctly
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 7 Mar 2013 08:24:37 +0000 (10:24 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 7 Mar 2013 08:55:55 +0000 (10:55 +0200)
commitb7aa76b6ea4e2da2400320c000c000ca8da77b4d
treeafe595ffda54d835659bc944e6d6abdd1e88b845
parentc6031d229acb3694db2660a98428156ebc0b6cde
device: Check positive device filter correctly

The -i or --device command line option contains the device names
that we should use. Unfortunately the check fails if there are
multiple interfaces in that list and we ignore the interfaces instead.

Fixes BMC#25979
src/device.c