diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-10-23 17:38:34 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-10-23 17:38:34 +0000 |
commit | de5200040cb31917d6597aef410d1c9a06c38397 (patch) | |
tree | 74a92763277cbcce15133532d9702d7f28b1ade6 /openwrt/package | |
parent | d5de24cb8ba761734e0654c0a6a5a10310347e18 (diff) | |
download | mtk-20170518-de5200040cb31917d6597aef410d1c9a06c38397.zip mtk-20170518-de5200040cb31917d6597aef410d1c9a06c38397.tar.gz mtk-20170518-de5200040cb31917d6597aef410d1c9a06c38397.tar.bz2 |
fix xsupplicant build against madwifi-ng introduced by [2272]
SVN-Revision: 2281
Diffstat (limited to 'openwrt/package')
-rw-r--r-- | openwrt/package/xsupplicant/patches/004-madwifi-ng.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/openwrt/package/xsupplicant/patches/004-madwifi-ng.patch b/openwrt/package/xsupplicant/patches/004-madwifi-ng.patch new file mode 100644 index 0000000..7c009bc --- /dev/null +++ b/openwrt/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???]"); |