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)
commit32910bb951a2a0332d70b23f6b3f83fa988dfcde
treec5f02479ea804cd987c0d6e3ab428446e2b35caf
parent72f15d53f3e0ca19bb5755b9cbdde000ee2f702e
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