fix xsupplicant build against madwifi-ng introduced by [2272]
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Oct 2005 17:38:34 +0000 (17:38 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Oct 2005 17:38:34 +0000 (17:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2281 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/xsupplicant/patches/004-madwifi-ng.patch [new file with mode: 0644]

diff --git a/openwrt/package/xsupplicant/patches/004-madwifi-ng.patch b/openwrt/package/xsupplicant/patches/004-madwifi-ng.patch
new file mode 100644 (file)
index 0000000..7c009bc
--- /dev/null
@@ -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???]");
This page took 0.021093 seconds and 4 git commands to generate.