cxgb4: Update firmware version after flashing it via ethtool
After successfully loading new firmware, reload the new firmware's version number information so "ethtool -i", etc. will report the right value Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
df64e4d38c
commit
dff04bceef
@ -1213,6 +1213,8 @@ out:
|
||||
if (ret)
|
||||
dev_err(adap->pdev_dev, "firmware download failed, error %d\n",
|
||||
ret);
|
||||
else
|
||||
ret = t4_get_fw_version(adap, &adap->params.fw_vers);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user