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)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:00:19 +0000 (03:00 +0000)
commit760b1d633d3d179b61c7e698604c3e80f6a844b5
treeb81fc7b8ffd26ce345789e66b10d8f8f01069e07
parente64569c8f85aaa9ace46bde22e9d9a49270ed763
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