From: Ursula Braun Date: Wed, 26 Aug 2009 02:01:10 +0000 (+0000) Subject: qeth: display "undefined" value of sysfs-attribute "layer2" X-Git-Tag: v2.6.32-rc1~703^2~287 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c6a3ed5bd61ec981c8a0d0111cfd435adf3f2b7;p=pandora-kernel.git qeth: display "undefined" value of sysfs-attribute "layer2" If nothing has been written into the qeth sysfs-attribute layer2, its value is "-1" meaning "not yet defined". But the value is displayed as "1" meaning "layer2 selected". The patch changes the reading of this "-1"-value to "-1" to make clear the layer2-attribute has not yet been defined. Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed