提交 18d79f72 编写于 作者: A Arjun Vynipadath 提交者: David S. Miller

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: NArjun Vynipadath <arjun@chelsio.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ac93e2fa
......@@ -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 ...
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册