]> 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)
commitd9b4176346e09d5e7cb6d33aeee0034b389e9321
treec5f02479ea804cd987c0d6e3ab428446e2b35caf
parent9a940c3a92dacf7f0113d1e307ff023a9bae4296
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