s390/qeth: fix SETIP command handling
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Fri, 9 Feb 2018 10:03:50 +0000 (11:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Feb 2018 19:30:23 +0000 (14:30 -0500)
commit1c5b2216fbb973a9410e0b06389740b5c1289171
tree577be160ca8f5a410d2d10eeb911c0c7286eb36a
parent89271c65edd599207dd982007900506283c90ae3
s390/qeth: fix SETIP command handling

send_control_data() applies some special handling to SETIP v4 IPA
commands. But current code parses *all* command types for the SETIP
command code. Limit the command code check to IPA commands.

Fixes: 5b54e16f1a54 ("qeth: do not spin for SETIP ip assist command")
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c