linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/8] wireless: convert wireless ioctl to net_device_ops
       [not found] <20090105201442.749889072@vyatta.com>
@ 2009-01-05 20:14 ` Stephen Hemminger
  2009-01-06 18:42   ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2009-01-05 20:14 UTC (permalink / raw)
  To: David Miller, linville; +Cc: netdev, linux-wireless

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>


--- a/net/wireless/wext.c	2009-01-05 08:40:34.045826527 -0800
+++ b/net/wireless/wext.c	2009-01-05 09:33:27.362505126 -0800
@@ -1055,8 +1055,8 @@ static int wireless_process_ioctl(struct
 			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;
 }
 

-- 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/8] wireless: convert wireless ioctl to net_device_ops
  2009-01-05 20:14 ` [PATCH 3/8] wireless: convert wireless ioctl to net_device_ops Stephen Hemminger
@ 2009-01-06 18:42   ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-01-06 18:42 UTC (permalink / raw)
  To: shemminger; +Cc: linville, netdev, linux-wireless

From: Stephen Hemminger <shemminger@vyatta.com>
Date: Mon, 05 Jan 2009 12:14:45 -0800

> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-06 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090105201442.749889072@vyatta.com>
2009-01-05 20:14 ` [PATCH 3/8] wireless: convert wireless ioctl to net_device_ops Stephen Hemminger
2009-01-06 18:42   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).