summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/002-remove-michael-mic.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:24:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:24:01 +0000
commit3406861c45898997e1e144d72f32641129f697c8 (patch)
tree3bb728751ec6fcc66186868fd14247e24162788c /package/hostapd/patches/002-remove-michael-mic.patch
parentca97980634547f7eae4b43b376f6cf332b615535 (diff)
update hostapd patches to the latest from http://johannes.sipsolutions.net/patches/hostap/all/2007-11-14-16:31/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9564 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.