mac80211: reset profile_periodicity/ema_ap
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:49 +0000 (13:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 11:25:49 +0000 (13:25 +0200)
commitbbc6f03ff26e7b71d6135a7b78ce40e7dee3d86a
treeb82a0ca809f1733c27aa4a79f1cb9209a1404f74
parent0288e5e16a2e18f0b7e61a2b70d9037fc6e4abeb
mac80211: reset profile_periodicity/ema_ap

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>
net/mac80211/mlme.c