commit | 7c6a3ed5bd61ec981c8a0d0111cfd435adf3f2b7 | [log] [tgz] |
---|---|---|
author | Ursula Braun <ursula.braun@de.ibm.com> | Wed Aug 26 02:01:10 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 26 17:34:22 2009 -0700 |
tree | 12986f915010601bc5e911488ebb60ff466c9cbe | |
parent | 0d788c7d285a91ef72a7b436dbe753d117856b3d [diff] |
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 <ursula.braun@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>