summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/100-madwifi_compile_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-09 01:36:36 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-09 01:36:36 +0000
commitacbc4c5f9530b1e9ef782baaf33c72bd7d775c1b (patch)
tree4eef31c26fcc6e6f251cb7bc2b3da3cd20927dd6 /package/hostapd/patches/100-madwifi_compile_fix.patch
parent929a8c4e3fdbc1763a917e2b698396fc694f3470 (diff)
hostapd: update to 20101109, reorganize patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23932 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/100-madwifi_compile_fix.patch')
-rw-r--r--package/hostapd/patches/100-madwifi_compile_fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/hostapd/patches/100-madwifi_compile_fix.patch b/package/hostapd/patches/100-madwifi_compile_fix.patch
new file mode 100644
index 0000000000..54e33f107e
--- /dev/null
+++ b/package/hostapd/patches/100-madwifi_compile_fix.patch
@@ -0,0 +1,18 @@
+--- a/src/drivers/driver_madwifi.c
++++ b/src/drivers/driver_madwifi.c
+@@ -69,6 +69,7 @@
+ #define MADWIFI_NG
+ #endif /* IEEE80211_IOCTL_SETWMMPARAMS */
+
++#define WPA_KEY_RSC_LEN 8
+
+ #ifdef HOSTAPD
+
+@@ -1510,7 +1511,6 @@ wpa_driver_madwifi_set_key(const char *i
+ wk.ik_keyix = key_idx;
+ wk.ik_keylen = key_len;
+ #ifdef WORDS_BIGENDIAN
+-#define WPA_KEY_RSC_LEN 8
+ {
+ size_t i;
+ u8 tmp[WPA_KEY_RSC_LEN];