diff mbox series

[v2] wifi: mt76: mt7925: fix the wrong data type for scan command

Message ID 20240104113206.13252-1-mingyen.hsieh@mediatek.com (mailing list archive)
State New, archived
Headers show
Series [v2] wifi: mt76: mt7925: fix the wrong data type for scan command | expand

Commit Message

Mingyen Hsieh Jan. 4, 2024, 11:32 a.m. UTC
From: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>

For the member of 'struct scan_req_tlv', replace data type of
func_mask_ext from 'u8' to '__le32'.

Change-Id: Ib9fc1aadd1f1960b63d35f31f0a4655416884bf0
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
---
v2:
 change the data type from 'u32' to '__le32'.
---
 drivers/net/wireless/mediatek/mt76/mt7925/mcu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Jan. 10, 2024, 9:49 a.m. UTC | #1
Mingyen Hsieh <mingyen.hsieh@mediatek.com> writes:

> From: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
>
> For the member of 'struct scan_req_tlv', replace data type of
> func_mask_ext from 'u8' to '__le32'.
>
> Change-Id: Ib9fc1aadd1f1960b63d35f31f0a4655416884bf0
> Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>

We don't use Change-Id tags in kernel.org.
diff mbox series

Patch

diff --git a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
index 3c41e21303b1..98cb705e7423 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
+++ b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
@@ -208,7 +208,7 @@  struct scan_req_tlv {
 	__le16 channel_dwell_time; /* channel Dwell interval */
 	__le16 timeout_value;
 	__le16 probe_delay_time;
-	u8 func_mask_ext;
+	__le32 func_mask_ext;
 };
 
 struct scan_ssid_tlv {