Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18d79f72 authored by Arjun Vynipadath's avatar Arjun Vynipadath Committed by David S. Miller
Browse files

cxgb4vf: Update port information in cxgb4vf_open()



It's possible that the basic port information could have
changed since we first read it.

Signed-off-by: default avatarArjun Vynipadath <arjun@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ac93e2fa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -791,6 +791,13 @@ static int cxgb4vf_open(struct net_device *dev)
			return err;
	}

	/* It's possible that the basic port information could have
	 * changed since we first read it.
	 */
	err = t4vf_update_port_info(pi);
	if (err < 0)
		return err;

	/*
	 * Note that this interface is up and start everything up ...
	 */