commit | a5a773a54e59538d03fd1a20facd7214c030b1d3 | [log] [tgz] |
---|---|---|
author | Suresh Reddy <suresh.reddy@broadcom.com> | Wed Feb 03 09:49:16 2016 +0530 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 07 13:55:22 2016 -0500 |
tree | bafb62bacabfbe890134f70fe1dad14e097c2eff | |
parent | 19f76f63507fa87f56eb3d864318c5c65268bb46 [diff] |
be2net: return error status from be_set_phys_id() be_set_phys_id() returns 0 to ethtool when the command fails in the FW. This patch fixes the set_phys_id() to return -EIO in case the FW cmd fails. Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>