blob: b34ef917ac230b59b74226c4ee0597e55f8f9d52 [file] [log] [blame]
developer05f3b2b2024-08-19 19:17:34 +08001From 786c6183c040ed6f6e440410957aa42d4086df03 Mon Sep 17 00:00:00 2001
developer66e89bc2024-04-23 14:50:01 +08002From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Thu, 19 Oct 2023 00:35:11 +0800
developer05f3b2b2024-08-19 19:17:34 +08004Subject: [PATCH 47/89] mtk: mac80211: increase association timeout time
developer66e89bc2024-04-23 14:50:01 +08005
6Prevent from sending multiple association requests while AP is already
7hanlding the request.
8
9Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
developer66e89bc2024-04-23 14:50:01 +080010---
11 net/mac80211/mlme.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
developer05f3b2b2024-08-19 19:17:34 +080015index 9c83b96..ebd4d74 100644
developer66e89bc2024-04-23 14:50:01 +080016--- a/net/mac80211/mlme.c
17+++ b/net/mac80211/mlme.c
developer05f3b2b2024-08-19 19:17:34 +080018@@ -7789,7 +7789,7 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata)
developer66e89bc2024-04-23 14:50:01 +080019 */
20 if (status_acked) {
21 ifmgd->assoc_data->timeout =
22- jiffies + IEEE80211_ASSOC_TIMEOUT_SHORT;
23+ jiffies + IEEE80211_ASSOC_TIMEOUT_SHORT * 4;
24 run_again(sdata, ifmgd->assoc_data->timeout);
25 } else {
26 ifmgd->assoc_data->timeout = jiffies - 1;
27--
developer05f3b2b2024-08-19 19:17:34 +0800282.18.0
developer66e89bc2024-04-23 14:50:01 +080029