be639c4741
git-svn-id: http://svn.sabayonlinux.org/overlay@535 d7aec97c-591d-0410-af39-a8856400b30a
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
diff -Nurp rt73-1.0.3.6.orig/Module/rtmp_main.c rt73-1.0.3.6/Module/rtmp_main.c
|
|
--- rt73-1.0.3.6.orig/Module/rtmp_main.c 2006-07-04 09:55:50.000000000 +0200
|
|
+++ rt73-1.0.3.6/Module/rtmp_main.c 2006-12-25 01:10:39.000000000 +0100
|
|
@@ -1718,8 +1718,10 @@ static void *usb_rtusb_probe(struct usb_
|
|
netdev->stop = usb_rtusb_close;
|
|
netdev->priv = pAd;
|
|
netdev->get_stats = rt73_get_ether_stats;
|
|
-#if WIRELESS_EXT >= 11
|
|
+#if WIRELESS_EXT >= 12
|
|
+#if WIRELESS_EXT < 17
|
|
netdev->get_wireless_stats = rt73_get_wireless_stats;
|
|
+#endif
|
|
netdev->wireless_handlers = (struct iw_handler_def *) &rt73_iw_handler_def;
|
|
#endif
|
|
netdev->do_ioctl = rt73_ioctl;
|
|
@@ -2060,9 +2062,10 @@ static int usb_rtusb_probe (struct usb_i
|
|
netdev->priv = pAd;
|
|
netdev->hard_start_xmit = RTMPSendPackets;
|
|
netdev->get_stats = rt73_get_ether_stats;
|
|
-
|
|
#if WIRELESS_EXT >= 12
|
|
+#if WIRELESS_EXT < 17
|
|
netdev->get_wireless_stats = rt73_get_wireless_stats;
|
|
+#endif
|
|
netdev->wireless_handlers = (struct iw_handler_def *) &rt73_iw_handler_def;
|
|
#endif
|
|
netdev->do_ioctl = rt73_ioctl;
|