mac80211: fix quiet mode activation in action frames
authorSara Sharon <sara.sharon@intel.com>
Fri, 31 Jan 2020 11:12:51 +0000 (13:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2020 18:53:08 +0000 (19:53 +0100)
commitdb5a68ffad2a6ab752e9f5ef0637ea0cea468e80
tree5958391ad6fe8ea8bc5007084d65af2faac1d8d6
parent671338889e8f3574acb316a8b92c878d498d2bc1
mac80211: fix quiet mode activation in action frames

commit 2bf973ff9b9aeceb8acda629ae65341820d4b35b upstream.

Previously I intended to ignore quiet mode in probe response, however
I ended up ignoring it instead for action frames. As a matter of fact,
this path isn't invoked for probe responses to start with. Just revert
this patch.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Fixes: 7976b1e9e3bf ("mac80211: ignore quiet mode in probe")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20200131111300.891737-15-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c