s390/qeth: tolerate error when querying card info
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 17 Nov 2020 16:15:15 +0000 (17:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Nov 2020 01:34:18 +0000 (17:34 -0800)
commit88ad4d9bb16624e6ea81aac9fb83dc34cd12460f
treed26fd3eeddf8fce531de4d22fef56c0f9475d71f
parent215d2836d714dbc1f52c7d14c6c1716bd4f4ff7b
s390/qeth: tolerate error when querying card info

By the time that our .get_link_ksettings() code issues a QUERY CARD INFO
cmd to get link-related information, we already set up a good amount of
static link data.

Return this data when the cmd fails, same as when the cmd is not
supported.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/s390/net/qeth_ethtool.c