cnic: Return error code in cnic_cm_close() if unsuccessful.
authorMichael Chan <mchan@broadcom.com>
Tue, 15 Jun 2010 08:57:00 +0000 (08:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2010 21:23:36 +0000 (14:23 -0700)
commited99daa5a0de4df9ed579ce36ff8b1373b6dbe47
tree17aa9ff6f5311930c7f232f06c19edc16e8eb4f9
parent2850062af1e00b3aab9f2ae486eda3e61d4aaeb9
cnic: Return error code in cnic_cm_close() if unsuccessful.

So that bnx2i can handle the error condition immediately and not have to
wait for timeout.

Signed-off-by: Michael Chan <mchan@broadcom.com.
Signed-off-by: Eddie Wai <waie@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c