summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-01-06 10:42:24 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-06 10:42:24 -0800
commit148bc4303f9ba972cbfe5d30dfec93ec0d8ff1e1 (patch)
treee97f8b96b6400e9ddeda6c68783ad4107467a686 /net
parent53a3294e26c49622daa14c1d8540500f568ded99 (diff)
downloadop-kernel-dev-148bc4303f9ba972cbfe5d30dfec93ec0d8ff1e1.zip
op-kernel-dev-148bc4303f9ba972cbfe5d30dfec93ec0d8ff1e1.tar.gz
wireless: convert wireless ioctl to net_device_ops
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/wext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/wext.c b/net/wireless/wext.c
index e49a2d1..cb6a5bb 100644
--- a/net/wireless/wext.c
+++ b/net/wireless/wext.c
@@ -1055,8 +1055,8 @@ static int wireless_process_ioctl(struct net *net, struct ifreq *ifr,
return private(dev, iwr, cmd, info, handler);
}
/* Old driver API : call driver ioctl handler */
- if (dev->do_ioctl)
- return dev->do_ioctl(dev, ifr, cmd);
+ if (dev->netdev_ops->ndo_do_ioctl)
+ return dev->netdev_ops->ndo_do_ioctl(dev, ifr, cmd);
return -EOPNOTSUPP;
}
OpenPOWER on IntegriCloud