diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-10-17 16:26:02 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2021-10-22 10:49:03 +0300 |
commit | 6b1259d1046ce068dc5448b65c26534fb22e37ac (patch) | |
tree | 9571fdac6f7e40ae43953e0b06ec0f40e169ddde /drivers/net/wireless/intel/iwlwifi/iwl-debug.c | |
parent | 425d66d8ddfc4aaf692030aea67932dc59f69abf (diff) |
iwlwifi: mvm: remove session protection after auth/assoc
When auth/assoc completes, we should remove session protection,
except when association is successful, where we need it until a
beacon is received from the AP.
In particular, in the case of assoc comeback, currently the session
protection event just times out, leading to confusing messages:
wlan0: 42:00:00:00:00:00 rejected association temporarily; comeback duration 1000 TU (1024 ms)
iwlwifi 0000:00:00.0: Not associated and the session protection is over already...
wlan0: Connection to AP 42:00:00:00:00:00 lost
wlan0: associate with 42:00:00:00:00:00 (try 2/3)
mac80211 never does anything on the "Connection ... lost" as it's
not even connected.
Removing the session protection when it's no longer needed removes
those confusing messages and lets the device do other things in the
allocated time.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211017162352.95e4bebb069b.I635280e5d26c70414ac6eb5d62b46fe4bd942818@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-debug.c')
0 files changed, 0 insertions, 0 deletions