Commit d6e51e6a authored by Jouni Malinen's avatar Jouni Malinen Committed by Kalle Valo

ath6kl: Fix WMI message structure for AP_SET_PVB

There is a 2-octet reserved field between the flag and aid fields. Fix
that to make the target actually behave as requested.
Signed-off-by: default avatarJouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 11869bef
...@@ -2740,6 +2740,7 @@ int ath6kl_wmi_set_pvb_cmd(struct wmi *wmi, u16 aid, bool flag) ...@@ -2740,6 +2740,7 @@ int ath6kl_wmi_set_pvb_cmd(struct wmi *wmi, u16 aid, bool flag)
cmd = (struct wmi_ap_set_pvb_cmd *) skb->data; cmd = (struct wmi_ap_set_pvb_cmd *) skb->data;
cmd->aid = cpu_to_le16(aid); cmd->aid = cpu_to_le16(aid);
cmd->rsvd = cpu_to_le16(0);
cmd->flag = cpu_to_le32(flag); cmd->flag = cpu_to_le32(flag);
ret = ath6kl_wmi_cmd_send(wmi, skb, WMI_AP_SET_PVB_CMDID, ret = ath6kl_wmi_cmd_send(wmi, skb, WMI_AP_SET_PVB_CMDID,
......
...@@ -1922,6 +1922,7 @@ struct wmi_ap_set_mlme_cmd { ...@@ -1922,6 +1922,7 @@ struct wmi_ap_set_mlme_cmd {
struct wmi_ap_set_pvb_cmd { struct wmi_ap_set_pvb_cmd {
__le32 flag; __le32 flag;
__le16 rsvd;
__le16 aid; __le16 aid;
} __packed; } __packed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment