summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpizza <pizza>2007-06-20 14:53:45 +0000
committerpizza <pizza>2007-06-20 14:53:45 +0000
commit7e18f6b058490c9797610ab970db1057fe6e1cee (patch)
tree84246079812efd7dfa05254bade9d40c1af5c9b0
parent15790a3412e8acb0299520dab0ed9fd45b46eecf (diff)
downloadlinux-wlan-ng-7e18f6b058490c9797610ab970db1057fe6e1cee.tar.gz
linux-wlan-ng-7e18f6b058490c9797610ab970db1057fe6e1cee.tar.bz2
linux-wlan-ng-7e18f6b058490c9797610ab970db1057fe6e1cee.zip
A patch from Dan Williams to fix up operation on Fedora 7.
-rw-r--r--CHANGES1
-rw-r--r--etc/udev/rules.d/40-prism2.rules3
-rw-r--r--src/p80211/p80211netdev.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 0d8a429..ef8e2c0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -41,6 +41,7 @@
* Intersil Corporation as part of PRISM(R) chipset product development.
*
* --------------------------------------------------------------------
+ - Tweaks to support Fedora 7 (Dan Williams)
- Support 2.6.22 kernels
0.2.8
- Fix up a pile of sparse warnings (Pavel Roskin)
diff --git a/etc/udev/rules.d/40-prism2.rules b/etc/udev/rules.d/40-prism2.rules
index cf40381..1134445 100644
--- a/etc/udev/rules.d/40-prism2.rules
+++ b/etc/udev/rules.d/40-prism2.rules
@@ -1 +1,2 @@
-ACTION=="add",BUS=="usb",DRIVER=="prism2_usb" ,RUN+="/etc/wlan/wlan-udev.sh %k"
+#ACTION=="add",BUS=="usb",DRIVER=="prism2_usb" ,RUN+="/etc/wlan/wlan-udev.sh %k"
+KERNEL="wlan*",ACTION=="add",DRIVERS=="prism2_usb" ,RUN+="/etc/wlan/wlan-udev.sh %k"
diff --git a/src/p80211/p80211netdev.c b/src/p80211/p80211netdev.c
index 72ee865..9d0e23e 100644
--- a/src/p80211/p80211netdev.c
+++ b/src/p80211/p80211netdev.c
@@ -930,7 +930,7 @@ int wlan_setup(wlandevice_t *wlandev)
dev->open = p80211knetdev_open;
dev->stop = p80211knetdev_stop;
-#ifdef CONFIG_NET_WIRELESS
+#if defined(CONFIG_NET_WIRELESS) || defined(WIRELESS_EXT)
#if ((WIRELESS_EXT < 17) && (WIRELESS_EXT < 21))
dev->get_wireless_stats = p80211wext_get_wireless_stats;
#endif