wmi.c (e5090444be811ce45653969363be8fcb4c52d597) wmi.c (d6e51e6a0cc50b6dd8d9f3a733427cca3f9afdee)
1/*
2 * Copyright (c) 2004-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 2726 unchanged lines hidden (view full) ---

2735 int ret;
2736
2737 skb = ath6kl_wmi_get_new_buf(sizeof(struct wmi_ap_set_pvb_cmd));
2738 if (!skb)
2739 return -ENOMEM;
2740
2741 cmd = (struct wmi_ap_set_pvb_cmd *) skb->data;
2742 cmd->aid = cpu_to_le16(aid);
1/*
2 * Copyright (c) 2004-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 2726 unchanged lines hidden (view full) ---

2735 int ret;
2736
2737 skb = ath6kl_wmi_get_new_buf(sizeof(struct wmi_ap_set_pvb_cmd));
2738 if (!skb)
2739 return -ENOMEM;
2740
2741 cmd = (struct wmi_ap_set_pvb_cmd *) skb->data;
2742 cmd->aid = cpu_to_le16(aid);
2743 cmd->rsvd = cpu_to_le16(0);
2743 cmd->flag = cpu_to_le32(flag);
2744
2745 ret = ath6kl_wmi_cmd_send(wmi, skb, WMI_AP_SET_PVB_CMDID,
2746 NO_SYNC_WMIFLAG);
2747
2748 return 0;
2749}
2750

--- 490 unchanged lines hidden ---
2744 cmd->flag = cpu_to_le32(flag);
2745
2746 ret = ath6kl_wmi_cmd_send(wmi, skb, WMI_AP_SET_PVB_CMDID,
2747 NO_SYNC_WMIFLAG);
2748
2749 return 0;
2750}
2751

--- 490 unchanged lines hidden ---