Skip to content
Snippets Groups Projects
Commit 7446d51c authored by Adam Wujek's avatar Adam Wujek :speech_balloon: Committed by Alessandro Rubini
Browse files

wr_nic: add comment to function wrn_ep_open in endpoint.c


Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 24e5e5a1
Branches
Tags wr-switch-sw-v3.0-rc3
No related merge requests found
......@@ -216,6 +216,8 @@ int wrn_ep_open(struct net_device *dev)
/* Prepare the timer for link-up notifications */
setup_timer(&ep->ep_link_timer, wrn_ep_check_link, timerarg);
/* Not on spec. On spec this part of the function is never reached
* due to return in if(WR_IS_NODE) */
mod_timer(&ep->ep_link_timer, jiffies + WRN_LINK_POLL_INTERVAL);
return 0;
}
......
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