]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: preserve more bits when building QoS header
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Oct 2016 12:17:13 +0000 (14:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Oct 2016 12:17:13 +0000 (14:17 +0200)
commit27bb11649d89bf0a58a946361aadc60662687ad3
treec5f02479ea804cd987c0d6e3ab428446e2b35caf
parent7dd00c24583bc8d5c9b601cc9df99244a9a49975
mac80211: preserve more bits when building QoS header

Michael Braun reported that when trying to inject A-MSDUs over
monitor interfaces, the frame doesn't come out right since the
QoS header A-MSDU bit is overwritten.

Rather than adding that bit specifically simply preserve those
bits that we don't set here, since we typically get here with
a zeroed-out QoS header anyway.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/wme.c