ath11k: add some missing __packed qualifiers
authorJohn Crispin <john@phrozen.org>
Thu, 5 Dec 2019 06:26:44 +0000 (07:26 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 17:45:01 +0000 (19:45 +0200)
A few of the WMI parameter structs were missing this.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/wmi.h

index 58a1985..eed6a1a 100644 (file)
@@ -4564,12 +4564,12 @@ struct wmi_twt_enable_params_cmd {
        u32 mode_check_interval;
        u32 add_sta_slot_interval;
        u32 remove_sta_slot_interval;
-};
+} __packed;
 
 struct wmi_twt_disable_params_cmd {
        u32 tlv_header;
        u32 pdev_id;
-};
+} __packed;
 
 struct wmi_obss_spatial_reuse_params_cmd {
        u32 tlv_header;
@@ -4578,7 +4578,7 @@ struct wmi_obss_spatial_reuse_params_cmd {
        s32 obss_min;
        s32 obss_max;
        u32 vdev_id;
-};
+} __packed;
 
 struct target_resource_config {
        u32 num_vdevs;