]> www.infradead.org Git - users/dwmw2/linux.git/commit
mac80211: Correctly set noencrypt for PAE frames
authorDenis Kenzior <denkenz@gmail.com>
Tue, 27 Aug 2019 22:41:20 +0000 (17:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Sep 2019 08:23:49 +0000 (10:23 +0200)
commitb018fcb922507e878f4fee3fd1c479e02e7deee8
treeec4769dd9fc3f484e7d3f85abdad0f75b5537360
parent08392de0ccc790c6892b1c42a6325eb3fc7b9fa9
mac80211: Correctly set noencrypt for PAE frames

commit f8b43c5cf4b62a19f2210a0f5367b84e1eff1ab9 upstream.

The noencrypt flag was intended to be set if the "frame was received
unencrypted" according to include/uapi/linux/nl80211.h.  However, the
current behavior is opposite of this.

Cc: stable@vger.kernel.org
Fixes: 018f6fbf540d ("mac80211: Send control port frames over nl80211")
Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Link: https://lore.kernel.org/r/20190827224120.14545-3-denkenz@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/rx.c