Skip to content

Commit

Permalink
wifi: mt76: mt7925: fix the wrong data type for scan command
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ming Yen Hsieh authored and nbd168 committed Feb 22, 2024
1 parent 3c37da5 commit 1f01276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1f01276

Please sign in to comment.