]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: vnicc Fix init to default
authorAlexandra Winter <wintera@linux.ibm.com>
Mon, 23 Dec 2019 14:03:25 +0000 (15:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Dec 2019 06:41:06 +0000 (22:41 -0800)
commit09a2154b4c2fb27a2020bf4cee556fbec4bd3477
treeb011aa3bf6d4b5553c6094a05d4e8b0a4d7b1434
parent877af2927371e80c7191c0f719a81525323f05b6
s390/qeth: vnicc Fix init to default

During vnicc_init wanted_char should be compared to cur_char and not
to QETH_VNICC_DEFAULT. Without this patch there is no way to enforce
the default values as desired values.

Note, that it is expected, that a card comes online with default values.
This patch was tested with private card firmware.

Fixes: 7cb7f614c986 ("s390/qeth: add VNICC enable/disable support")
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l2_main.c