mac80211: reset profile_periodicity/ema_ap
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:49 +0000 (13:41 +0300)
committerSasha Levin <sashal@kernel.org>
Wed, 30 Jun 2021 12:47:23 +0000 (08:47 -0400)
commit676a7cb1a96bfa8e8cb38a9fcdd69f3d91a0abda
tree7629bf8f03ec29258e8f717cea12bdfa6366bb61
parentca0e1fefbb534cc86296d9e5d116b0bf49084112
mac80211: reset profile_periodicity/ema_ap

[ Upstream commit bbc6f03ff26e7b71d6135a7b78ce40e7dee3d86a ]

Apparently we never clear these values, so they'll remain set
since the setting of them is conditional. Clear the values in
the relevant other cases.

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.20210618133832.316e32d136a9.I2a12e51814258e1e1b526103894f4b9f19a91c8d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/mlme.c