aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-23 17:38:34 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-23 17:38:34 +0000
commit7d2fe1198449b5ef8cc38807f5f3305705ca47ee (patch)
tree531014603d21b21df7d609c3ada589befcb87cff
parentd1a7390ec36d876cf4ec6ce6be838688282f221b (diff)
downloadupstream-7d2fe1198449b5ef8cc38807f5f3305705ca47ee.tar.gz
upstream-7d2fe1198449b5ef8cc38807f5f3305705ca47ee.tar.bz2
upstream-7d2fe1198449b5ef8cc38807f5f3305705ca47ee.zip
fix xsupplicant build against madwifi-ng introduced by [2272]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2281 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/xsupplicant/patches/004-madwifi-ng.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/xsupplicant/patches/004-madwifi-ng.patch b/package/xsupplicant/patches/004-madwifi-ng.patch
new file mode 100644
index 0000000000..7c009bc7ce
--- /dev/null
+++ b/package/xsupplicant/patches/004-madwifi-ng.patch
@@ -0,0 +1,28 @@
+diff -ruN xsupplicant-1.2.2-old/src/cardif/linux/cardif_madwifi_driver.c xsupplicant-1.2.2-new/src/cardif/linux/cardif_madwifi_driver.c
+--- xsupplicant-1.2.2-old/src/cardif/linux/cardif_madwifi_driver.c 2005-10-13 20:57:28.000000000 +0200
++++ xsupplicant-1.2.2-new/src/cardif/linux/cardif_madwifi_driver.c 2005-10-23 19:28:46.000000000 +0200
+@@ -140,19 +140,19 @@
+ "ioctl[IEEE80211_IOCTL_SETKEY]",
+ "ioctl[IEEE80211_IOCTL_GETKEY]",
+ "ioctl[IEEE80211_IOCTL_DELKEY]",
+- NULL,
++ "ioctl[IEEE80211_IOCTL_SETWMMPARAMS]",
+ "ioctl[IEEE80211_IOCTL_SETMLME]",
+- NULL,
++ "ioctl[IEEE80211_IOCTL_GETCHANINFO]",
+ "ioctl[IEEE80211_IOCTL_SETOPTIE]",
+ "ioctl[IEEE80211_IOCTL_GETOPTIE]",
+ "ioctl[IEEE80211_IOCTL_ADDMAC]",
+ NULL,
+ "ioctl[IEEE80211_IOCTL_DELMAC]",
+- NULL,
+- "ioctl[IEEE80211_IOCTL_CHANLIST]",
++ "ioctl[IEEE80211_IOCTL_GETCHANLIST]",
++ "ioctl[IEEE80211_IOCTL_SETCHANLIST]",
+ };
+ if (IEEE80211_IOCTL_SETPARAM <= op &&
+- op <= IEEE80211_IOCTL_CHANLIST)
++ op <= IEEE80211_IOCTL_SETCHANLIST)
+ debug_printf(DEBUG_NORMAL, "%s\n", opnames[op - SIOCIWFIRSTPRIV]);
+ else
+ debug_printf(DEBUG_NORMAL, "ioctl[unknown???]");