mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X
authorDanek Duvall <duvall@comfychair.org>
Wed, 22 Aug 2018 23:01:05 +0000 (16:01 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 28 Aug 2018 09:09:05 +0000 (11:09 +0200)
commitd7c863a2f65e48f442379f4ee1846d52e0c5d24d
treea66ad3e5d4dd028f33198a6fbdb778e569112a96
parent67d1ba8a6dc83d90cd58b89fa6cbf9ae35a0cf7f
mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X

The mac80211_hwsim driver intends to say that it supports up to four
STBC receive streams, but instead it ends up saying something undefined.
The IEEE80211_VHT_CAP_RXSTBC_X macros aren't independent bits that can
be ORed together, but values.  In this case, _4 is the appropriate one
to use.

Signed-off-by: Danek Duvall <duvall@comfychair.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c