mac80211: don't look at the PM bit of BAR frames
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 8 Jun 2017 11:00:49 +0000 (14:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Jun 2017 05:11:13 +0000 (07:11 +0200)
commit2ec5b68bf62ef47daf526967f0fd069caf581e31
treeef0c6b13a72ca322b0eb88df9f062125e5152cc6
parent63d34ea7042af3ffe25cb19094cb5e766e7b67ca
mac80211: don't look at the PM bit of BAR frames

commit 769dc04db3ed8484798aceb015b94deacc2ba557 upstream.

When a peer sends a BAR frame with PM bit clear, we should
not modify its PM state as madated by the spec in
802.11-20012 10.2.1.2.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/rx.c