qlge: Add asic reset to open call.
Force asic to known state at open(). Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4fc9b8697c
commit
74e1243549
@ -3714,6 +3714,10 @@ static int qlge_open(struct net_device *ndev)
|
||||
int err = 0;
|
||||
struct ql_adapter *qdev = netdev_priv(ndev);
|
||||
|
||||
err = ql_adapter_reset(qdev);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
err = ql_configure_rings(qdev);
|
||||
if (err)
|
||||
return err;
|
||||
|
Loading…
Reference in New Issue
Block a user