cfg80211: fix default HE tx bitrate mask in 2G band
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 9 Jun 2021 07:59:44 +0000 (15:59 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 09:02:59 +0000 (11:02 +0200)
commit9df66d5b9f45c39b3925d16e8947cc10009b186d
tree9eb0589a4a88f3bc86ca70dfbd5f55a629f17b89
parent057e377af24a4f48f9d8340029e765df0345f048
cfg80211: fix default HE tx bitrate mask in 2G band

In 2G band, a HE sta can only supports HT and HE, but not supports VHT.
In this case, default HE tx bitrate mask isn't filled, when we use iw to
set bitrates without any parameter.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://lore.kernel.org/r/20210609075944.51130-1-pkshih@realtek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c