summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2021-11-29 16:32:35 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-12-20 12:37:17 +0300
commit852a07c10d62b2d041f7cbf284a2723f5bcc483f (patch)
treed57f563b77db38dd15232b254b63808196b8f6b8 /net
parenta083ee8a4e03348fb90a4b24cbe957b3252c7b04 (diff)
downloadlinux-852a07c10d62b2d041f7cbf284a2723f5bcc483f.tar.xz
mac80211: Notify cfg80211 about association comeback
Signed-off-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20211129152938.d76eac9e51ee.I986cffab95d51adfee6d84964711644392005113@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/mlme.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 805aafccff26..4dbed5061ade 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -3730,6 +3730,10 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata,
elems->timeout_int &&
elems->timeout_int->type == WLAN_TIMEOUT_ASSOC_COMEBACK) {
u32 tu, ms;
+
+ cfg80211_assoc_comeback(sdata->dev, assoc_data->bss,
+ le32_to_cpu(elems->timeout_int->value));
+
tu = le32_to_cpu(elems->timeout_int->value);
ms = tu * 1024 / 1000;
sdata_info(sdata,