aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/s390/net/qeth_core_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_sys.c b/drivers/s390/net/qeth_core_sys.c
index 568465d7517f..33505c2a0e3a 100644
--- a/drivers/s390/net/qeth_core_sys.c
+++ b/drivers/s390/net/qeth_core_sys.c
@@ -364,7 +364,7 @@ static ssize_t qeth_dev_layer2_show(struct device *dev,
364 if (!card) 364 if (!card)
365 return -EINVAL; 365 return -EINVAL;
366 366
367 return sprintf(buf, "%i\n", card->options.layer2 ? 1:0); 367 return sprintf(buf, "%i\n", card->options.layer2);
368} 368}
369 369
370static ssize_t qeth_dev_layer2_store(struct device *dev, 370static ssize_t qeth_dev_layer2_store(struct device *dev,