mac80211: Notify cfg80211 about association comeback
authorIlan Peer <ilan.peer@intel.com>
Mon, 29 Nov 2021 13:32:35 +0000 (15:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Dec 2021 09:37:17 +0000 (10:37 +0100)
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>
net/mac80211/mlme.c

index 805aafccff26fe9a44e94d659b67cb1c16aa9270..4dbed5061ade15adf5bb8696ce93446e03f41d09 100644 (file)
@@ -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,