From dccbd25985059aa70a8637c9f22c22498980945d Mon Sep 17 00:00:00 2001 From: Ming Yen Hsieh Date: Wed, 10 Jan 2024 17:54:57 +0800 Subject: [PATCH] wifi: mt76: mt7925: fix the wrong data type for scan command For the member of 'struct scan_req_tlv', replace data type of func_mask_ext from 'u8' to '__le32'. Signed-off-by: Ming Yen Hsieh Signed-off-by: Felix Fietkau --- mt7925/mcu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7925/mcu.h b/mt7925/mcu.h index 2cf39276..2a0bbfe7 100644 --- a/mt7925/mcu.h +++ b/mt7925/mcu.h @@ -222,7 +222,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 {