summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/740-group_key_timeout.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:26 +0000
commitc8321c3ca6de1dc1767c90afbe73afc822fb0194 (patch)
tree09bf221f53d3708d737f4b3330c8e02e17f4760d /package/hostapd/patches/740-group_key_timeout.patch
parentdab5ebaa76d6432459ba6e26ab22600ed85dd3e4 (diff)
downloadmtk-20170518-c8321c3ca6de1dc1767c90afbe73afc822fb0194.zip
mtk-20170518-c8321c3ca6de1dc1767c90afbe73afc822fb0194.tar.gz
mtk-20170518-c8321c3ca6de1dc1767c90afbe73afc822fb0194.tar.bz2
hostapd: update to latest git version
SVN-Revision: 28746
Diffstat (limited to 'package/hostapd/patches/740-group_key_timeout.patch')
-rw-r--r--package/hostapd/patches/740-group_key_timeout.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hostapd/patches/740-group_key_timeout.patch b/package/hostapd/patches/740-group_key_timeout.patch
new file mode 100644
index 0000000..694b066
--- /dev/null
+++ b/package/hostapd/patches/740-group_key_timeout.patch
@@ -0,0 +1,11 @@
+--- a/src/ap/wpa_auth.c
++++ b/src/ap/wpa_auth.c
+@@ -1330,7 +1330,7 @@ static void wpa_send_eapol(struct wpa_au
+ keyidx, encr, 0);
+
+ ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr;
+- if (ctr == 1 && wpa_auth->conf.tx_status)
++ if (ctr == 1 && wpa_auth->conf.tx_status && pairwise)
+ timeout_ms = eapol_key_timeout_first;
+ else
+ timeout_ms = eapol_key_timeout_subseq;