wifi: mt76: mt7996: fix endianness of MT_TXD6_TX_RATE
authorRyder Lee <ryder.lee@mediatek.com>
Sun, 23 Apr 2023 21:39:05 +0000 (05:39 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 12 May 2023 08:21:07 +0000 (11:21 +0300)
commitcdc26ee89bddb9b6b2ae026a46d97855d5ba6694
treefb4f20903c6a9e63703ea591a6be643872e90b06
parentac9a78681b921877518763ba0e89202254349d1b
wifi: mt76: mt7996: fix endianness of MT_TXD6_TX_RATE

To avoid sparse warning:
sparse: warning: invalid assignment: |=
sparse:    left side has type restricted __le32
sparse:    right side has type unsigned lon

Fixes: 15ee62e73705 ("wifi: mt76: mt7996: enable BSS_CHANGED_BASIC_RATES support")
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/16fa938373e3b145cb07a2c98d2428fea2abadba.1682285873.git.ryder.lee@mediatek.com
drivers/net/wireless/mediatek/mt76/mt7996/mac.c