-/**
- * wl3501_ioctl - Perform IOCTL call functions
- * @dev - network device
- * @ifreq - request
- * @cmd - command
- *
- * Perform IOCTL call functions here. Some are privileged operations and the
- * effective uid is checked in those cases.
- *
- * This part is optional. Needed only if you want to run wlu (unix version).
- *
- * CAUTION: To prevent interrupted by wl3501_interrupt() and timer-based
- * wl3501_hard_start_xmit() from other interrupts, this should be run
- * single-threaded.
- */
-static int wl3501_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
-{
- int rc = -ENODEV;
-
- if (netif_device_present(dev)) {
- rc = -EOPNOTSUPP;
- if (cmd == SIOCETHTOOL)
- rc = wl3501_ethtool_ioctl(dev, rq->ifr_data);
- }
- return rc;
-}