diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2011-09-05 10:38:44 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-09-06 03:44:02 -0400 |
commit | d6e51e6a0cc50b6dd8d9f3a733427cca3f9afdee (patch) | |
tree | 5fb4f03df5943e73489e27aee1a5cc6d269993ef | |
parent | 11869befc7285be712623536daa30791aec1682f (diff) |
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: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index c9ec6303db72..b2c5c40727fb 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/drivers/net/wireless/ath/ath6kl/wmi.c | |||
@@ -2740,6 +2740,7 @@ int ath6kl_wmi_set_pvb_cmd(struct wmi *wmi, u16 aid, bool flag) | |||
2740 | 2740 | ||
2741 | cmd = (struct wmi_ap_set_pvb_cmd *) skb->data; | 2741 | cmd = (struct wmi_ap_set_pvb_cmd *) skb->data; |
2742 | cmd->aid = cpu_to_le16(aid); | 2742 | cmd->aid = cpu_to_le16(aid); |
2743 | cmd->rsvd = cpu_to_le16(0); | ||
2743 | cmd->flag = cpu_to_le32(flag); | 2744 | cmd->flag = cpu_to_le32(flag); |
2744 | 2745 | ||
2745 | ret = ath6kl_wmi_cmd_send(wmi, skb, WMI_AP_SET_PVB_CMDID, | 2746 | ret = ath6kl_wmi_cmd_send(wmi, skb, WMI_AP_SET_PVB_CMDID, |
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h index a78e21b91776..e86b81d326eb 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.h +++ b/drivers/net/wireless/ath/ath6kl/wmi.h | |||
@@ -1922,6 +1922,7 @@ struct wmi_ap_set_mlme_cmd { | |||
1922 | 1922 | ||
1923 | struct wmi_ap_set_pvb_cmd { | 1923 | struct wmi_ap_set_pvb_cmd { |
1924 | __le32 flag; | 1924 | __le32 flag; |
1925 | __le16 rsvd; | ||
1925 | __le16 aid; | 1926 | __le16 aid; |
1926 | } __packed; | 1927 | } __packed; |
1927 | 1928 | ||