Loading net/irda/irda_device.c +3 −2 Original line number Diff line number Diff line Loading @@ -149,13 +149,14 @@ int irda_device_is_receiving(struct net_device *dev) IRDA_DEBUG(2, "%s()\n", __func__); if (!dev->do_ioctl) { if (!dev->netdev_ops->ndo_do_ioctl) { IRDA_ERROR("%s: do_ioctl not impl. by device driver\n", __func__); return -1; } ret = dev->do_ioctl(dev, (struct ifreq *) &req, SIOCGRECEIVING); ret = (dev->netdev_ops->ndo_do_ioctl)(dev, (struct ifreq *) &req, SIOCGRECEIVING); if (ret < 0) return ret; Loading Loading
net/irda/irda_device.c +3 −2 Original line number Diff line number Diff line Loading @@ -149,13 +149,14 @@ int irda_device_is_receiving(struct net_device *dev) IRDA_DEBUG(2, "%s()\n", __func__); if (!dev->do_ioctl) { if (!dev->netdev_ops->ndo_do_ioctl) { IRDA_ERROR("%s: do_ioctl not impl. by device driver\n", __func__); return -1; } ret = dev->do_ioctl(dev, (struct ifreq *) &req, SIOCGRECEIVING); ret = (dev->netdev_ops->ndo_do_ioctl)(dev, (struct ifreq *) &req, SIOCGRECEIVING); if (ret < 0) return ret; Loading