wifi: mt76: mt7925: fix the wrong data type for scan command
authorMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Wed, 10 Jan 2024 09:54:57 +0000 (17:54 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Feb 2024 08:55:18 +0000 (09:55 +0100)
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 <mingyen.hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/mcu.h

index 2cf39276118eba458fdea2d0e96fff052d28518d..2a0bbfe7bfa5e1f39e5ee770d65fd70e0253720e 100644 (file)
@@ -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 {