qeth: display service_level info only when valid.
authorKlaus-Dieter Wacker <kdwacker@de.ibm.com>
Wed, 26 Aug 2009 02:01:09 +0000 (02:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2009 00:34:20 +0000 (17:34 -0700)
commit0d788c7d285a91ef72a7b436dbe753d117856b3d
tree1afc88e495d3455ea9fe83840e79b155f9de6109
parentce73e10ee0cb6cde1c5075a2803da0f0eb5b2324
qeth: display service_level info only when valid.

qeth displayed an entry in /proc/service_level even when no valid
MCL-string was available (the MCL info is blank). The change is to
create an entry in /proc/service_level only when MCL-string is
non-zero.

Signed-off-by: Klaus-Dieter Wacker <kdwacker@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c