Commit 14881799 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Alessandro Rubini

dmtd.c: TX calibration now works even if port is down

parent b515eff3
......@@ -58,8 +58,10 @@ int wrn_calib_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
if (copy_from_user(&cal_req, rq->ifr_data, sizeof(cal_req)))
return -EFAULT;
#if 0
if (!(ep->ep_flags & BIT(WRN_EP_UP)))
return -EIO; /* was -EFAULT in minic */
#endif
switch(cal_req.cmd) {
case WRN_CAL_TX_ON:
......
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