Commit e533c179 authored by Alessandro Rubini's avatar Alessandro Rubini

wr_nic/endpoint: fix 51cc96ed: report carrier is on at open

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d5dcd71d
......@@ -139,8 +139,10 @@ int wrn_ep_open(struct net_device *dev)
struct wrn_ep *ep = netdev_priv(dev);
unsigned long timerarg = (unsigned long)dev;
if (1)
if (1) {
netif_carrier_on(dev);
return 0; /* No access to EP registers in the SPEC */
}
/* Prepare hardware registers: first config, then bring up */
writel(0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment