projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a3294
)
wireless: convert wireless ioctl to net_device_ops
author
Stephen Hemminger
<shemminger@vyatta.com>
Tue, 6 Jan 2009 18:42:24 +0000
(10:42 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 Jan 2009 18:42:24 +0000
(10:42 -0800)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wireless/wext.c
patch
|
blob
|
history
diff --git
a/net/wireless/wext.c
b/net/wireless/wext.c
index
e49a2d1
..
cb6a5bb
100644
(file)
--- 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;
}