net/ncsi: Disable HWA mode when no channels are found
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 19 Oct 2017 02:43:07 +0000 (13:43 +1100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 00:56:38 +0000 (01:56 +0100)
commit100ef01f3ea4badbee6479290a41f74abd0e523f
tree63e20dd96f1655865b98745c97f9360f826d4e87
parent0795fb2021f07969949f523ea33c39785bfae9d6
net/ncsi: Disable HWA mode when no channels are found

When there are no NCSI channels probed, HWA (Hardware Arbitration)
mode is enabled. It's not correct because HWA depends on the fact:
NCSI channels exist and all of them support HWA mode. This disables
HWA when no channels are probed.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/ncsi-manage.c