be2net: return -ETIMEDOUT when a FW-cmd times out
authorKalesh AP <kalesh.purayil@emulex.com>
Thu, 17 Jul 2014 10:50:21 +0000 (16:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:38:14 +0000 (16:38 -0700)
commitfd45160cef0a4782cde70ec4cdeb9421ea8460b6
tree5a13689de3f70a65d85a199e12a769c1012a03b4
parent56ace3a0d0209ea9f1806abb9c1046fdb89e0030
be2net: return -ETIMEDOUT when a FW-cmd times out

When the FW stops responding with completions, return -ETIMEDOUT error
(instead of -1) to the stack.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c