|
@@ -774,8 +774,8 @@ static int bnxt_vf_set_link(struct bnxt *bp, struct bnxt_vf_info *vf)
|
|
|
|
|
|
if (vf->flags & BNXT_VF_LINK_UP) {
|
|
|
/* if physical link is down, force link up on VF */
|
|
|
- if (phy_qcfg_resp.link ==
|
|
|
- PORT_PHY_QCFG_RESP_LINK_NO_LINK) {
|
|
|
+ if (phy_qcfg_resp.link !=
|
|
|
+ PORT_PHY_QCFG_RESP_LINK_LINK) {
|
|
|
phy_qcfg_resp.link =
|
|
|
PORT_PHY_QCFG_RESP_LINK_LINK;
|
|
|
phy_qcfg_resp.link_speed = cpu_to_le16(
|