Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c209ebc authored by Danek Duvall's avatar Danek Duvall Committed by Greg Kroah-Hartman
Browse files

mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X



[ Upstream commit 67d1ba8a ]

The mod mask for VHT capabilities intends to say that you can override
the number of STBC receive streams, and it does, but only by accident.
The IEEE80211_VHT_CAP_RXSTBC_X aren't bits to be set, but values (albeit
left-shifted).  ORing the bits together gets the right answer, but we
should use the _MASK macro here instead.

Signed-off-by: default avatarDanek Duvall <duvall@comfychair.org>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6054817c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment