mt76: mt7915: use 0xff to initialize bitrate_mask in mt7915_init_bitrate_mask
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 4 Apr 2022 17:28:02 +0000 (19:28 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 May 2022 07:39:34 +0000 (09:39 +0200)
commit1e779f49ca0c413c80457b2db9c201c8db6188bb
treea54643bfb198946fe32e7caa24b21ec30b842afa
parent05268cf1789d99eda491c4a32f23a4c5b9bddeba
mt76: mt7915: use 0xff to initialize bitrate_mask in mt7915_init_bitrate_mask

Use 0xff (GENMASK(7,0)) in mt7915_init_bitrate_mask routine in order to
initialize bitrate_mask structure in order to avoid truncating value in
memset().

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/main.c