be2net: return error status from be_mcc_notify()
authorSuresh Reddy <Suresh.Reddy@emulex.com>
Fri, 10 Jul 2015 09:32:48 +0000 (05:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jul 2015 06:24:30 +0000 (23:24 -0700)
commitefaa408e964012225897e87d9aad97a4d0ebc1d5
treeb8b0ef54497d42e8e8ea64b7f18ab069ea020bdf
parent1645d99768e00d3148ebded5d8c4ab55cdb19a5c
be2net: return error status from be_mcc_notify()

When the adapter is in error state, return error from be_mcc_notify()
so that the caller routines need not sleep waiting for a response.

Signed-off-by: Suresh Reddy <suresh.reddy@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c