aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/002-remove-michael-mic.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-16 03:24:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-16 03:24:01 +0000
commit42d7efd08301a649ced2059c048d7381a27892b4 (patch)
treee177b9f29652a9be103f47c4523f0c2c6e550104 /package/hostapd/patches/002-remove-michael-mic.patch
parent5a543584b8b7f0d512979db826b998c2b32add65 (diff)
downloadupstream-42d7efd08301a649ced2059c048d7381a27892b4.tar.gz
upstream-42d7efd08301a649ced2059c048d7381a27892b4.tar.bz2
upstream-42d7efd08301a649ced2059c048d7381a27892b4.zip
update hostapd patches to the latest from http://johannes.sipsolutions.net/patches/hostap/all/2007-11-14-16:31/
SVN-Revision: 9564
Diffstat (limited to 'package/hostapd/patches/002-remove-michael-mic.patch')
-rw-r--r--package/hostapd/patches/002-remove-michael-mic.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/hostapd/patches/002-remove-michael-mic.patch b/package/hostapd/patches/002-remove-michael-mic.patch
new file mode 100644
index 0000000000..a90b40f36a
--- /dev/null
+++ b/package/hostapd/patches/002-remove-michael-mic.patch
@@ -0,0 +1,34 @@
+---
+ hostapd/driver_devicescape.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- hostap.orig/hostapd/driver_devicescape.c 2007-11-14 17:30:47.000000000 +0100
++++ hostap/hostapd/driver_devicescape.c 2007-11-14 17:31:07.000000000 +0100
+@@ -1264,6 +1264,7 @@ static void dump_frame_info(struct ieee8
+ }
+
+
++/*
+ static void hostapd_michael_mic_failure(struct hostapd_data *hapd, u8 *buf,
+ size_t len)
+ {
+@@ -1278,6 +1279,7 @@ static void hostapd_michael_mic_failure(
+
+ mlme_michaelmicfailure_indication(hapd, hdr->addr2);
+ }
++*/
+
+
+ static void handle_frame(struct hostapd_iface *iface, u8 *buf, size_t len,
+@@ -1386,10 +1388,10 @@ static void handle_frame(struct hostapd_
+ case ieee80211_msg_wep_frame_unknown_key:
+ ieee802_11_rx_unknown_key(hapd, buf, data_len);
+ return;
+- */
+ case ieee80211_msg_michael_mic_failure:
+ hostapd_michael_mic_failure(hapd, buf, data_len);
+ return;
++ */
+ /*
+ * TODO
+ * We should be telling them to go away. But we don't support that now.