aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/wmi.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2014-09-14 05:50:06 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2014-09-18 03:41:18 -0400
commit5b07e07fd0a9432b6910badfdb084112be4390af (patch)
tree8057f8897d81428ad44b89d9b8c12fd9a9b44792 /drivers/net/wireless/ath/ath10k/wmi.c
parentbd8bdbb6902491518f36491a6bac9b6e2cdb0b60 (diff)
ath10k: fix checkpatch warnings about parenthesis alignment
CHECK: Alignment should match open parenthesis Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/wmi.c30
1 files changed, 16 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index 3e2213409074..3b5749d8b081 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.c
+++ b/drivers/net/wireless/ath/ath10k/wmi.c
@@ -1859,9 +1859,10 @@ static void ath10k_wmi_event_dfs(struct ath10k *ar,
1859 } 1859 }
1860} 1860}
1861 1861
1862static void ath10k_wmi_event_spectral_scan(struct ath10k *ar, 1862static void
1863 struct wmi_single_phyerr_rx_event *event, 1863ath10k_wmi_event_spectral_scan(struct ath10k *ar,
1864 u64 tsf) 1864 struct wmi_single_phyerr_rx_event *event,
1865 u64 tsf)
1865{ 1866{
1866 int buf_len, tlv_len, res, i = 0; 1867 int buf_len, tlv_len, res, i = 0;
1867 struct phyerr_tlv *tlv; 1868 struct phyerr_tlv *tlv;
@@ -1989,7 +1990,7 @@ static void ath10k_wmi_event_roam(struct ath10k *ar, struct sk_buff *skb)
1989} 1990}
1990 1991
1991static void ath10k_wmi_event_profile_match(struct ath10k *ar, 1992static void ath10k_wmi_event_profile_match(struct ath10k *ar,
1992 struct sk_buff *skb) 1993 struct sk_buff *skb)
1993{ 1994{
1994 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_PROFILE_MATCH\n"); 1995 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_PROFILE_MATCH\n");
1995} 1996}
@@ -2040,13 +2041,13 @@ static void ath10k_wmi_event_wlan_profile_data(struct ath10k *ar,
2040} 2041}
2041 2042
2042static void ath10k_wmi_event_rtt_measurement_report(struct ath10k *ar, 2043static void ath10k_wmi_event_rtt_measurement_report(struct ath10k *ar,
2043 struct sk_buff *skb) 2044 struct sk_buff *skb)
2044{ 2045{
2045 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_RTT_MEASUREMENT_REPORT_EVENTID\n"); 2046 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_RTT_MEASUREMENT_REPORT_EVENTID\n");
2046} 2047}
2047 2048
2048static void ath10k_wmi_event_tsf_measurement_report(struct ath10k *ar, 2049static void ath10k_wmi_event_tsf_measurement_report(struct ath10k *ar,
2049 struct sk_buff *skb) 2050 struct sk_buff *skb)
2050{ 2051{
2051 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_TSF_MEASUREMENT_REPORT_EVENTID\n"); 2052 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_TSF_MEASUREMENT_REPORT_EVENTID\n");
2052} 2053}
@@ -2082,7 +2083,7 @@ static void ath10k_wmi_event_pdev_ftm_intg(struct ath10k *ar,
2082} 2083}
2083 2084
2084static void ath10k_wmi_event_gtk_offload_status(struct ath10k *ar, 2085static void ath10k_wmi_event_gtk_offload_status(struct ath10k *ar,
2085 struct sk_buff *skb) 2086 struct sk_buff *skb)
2086{ 2087{
2087 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_GTK_OFFLOAD_STATUS_EVENTID\n"); 2088 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_GTK_OFFLOAD_STATUS_EVENTID\n");
2088} 2089}
@@ -2106,7 +2107,7 @@ static void ath10k_wmi_event_addba_complete(struct ath10k *ar,
2106} 2107}
2107 2108
2108static void ath10k_wmi_event_vdev_install_key_complete(struct ath10k *ar, 2109static void ath10k_wmi_event_vdev_install_key_complete(struct ath10k *ar,
2109 struct sk_buff *skb) 2110 struct sk_buff *skb)
2110{ 2111{
2111 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID\n"); 2112 ath10k_dbg(ar, ATH10K_DBG_WMI, "WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID\n");
2112} 2113}
@@ -2130,7 +2131,7 @@ static void ath10k_wmi_event_vdev_resume_req(struct ath10k *ar,
2130} 2131}
2131 2132
2132static int ath10k_wmi_alloc_host_mem(struct ath10k *ar, u32 req_id, 2133static int ath10k_wmi_alloc_host_mem(struct ath10k *ar, u32 req_id,
2133 u32 num_units, u32 unit_len) 2134 u32 num_units, u32 unit_len)
2134{ 2135{
2135 dma_addr_t paddr; 2136 dma_addr_t paddr;
2136 u32 pool_size; 2137 u32 pool_size;
@@ -3520,9 +3521,10 @@ int ath10k_wmi_vdev_delete(struct ath10k *ar, u32 vdev_id)
3520 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_delete_cmdid); 3521 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_delete_cmdid);
3521} 3522}
3522 3523
3523static int ath10k_wmi_vdev_start_restart(struct ath10k *ar, 3524static int
3524 const struct wmi_vdev_start_request_arg *arg, 3525ath10k_wmi_vdev_start_restart(struct ath10k *ar,
3525 u32 cmd_id) 3526 const struct wmi_vdev_start_request_arg *arg,
3527 u32 cmd_id)
3526{ 3528{
3527 struct wmi_vdev_start_request_cmd *cmd; 3529 struct wmi_vdev_start_request_cmd *cmd;
3528 struct sk_buff *skb; 3530 struct sk_buff *skb;
@@ -3603,7 +3605,7 @@ int ath10k_wmi_vdev_start(struct ath10k *ar,
3603} 3605}
3604 3606
3605int ath10k_wmi_vdev_restart(struct ath10k *ar, 3607int ath10k_wmi_vdev_restart(struct ath10k *ar,
3606 const struct wmi_vdev_start_request_arg *arg) 3608 const struct wmi_vdev_start_request_arg *arg)
3607{ 3609{
3608 u32 cmd_id = ar->wmi.cmd->vdev_restart_request_cmdid; 3610 u32 cmd_id = ar->wmi.cmd->vdev_restart_request_cmdid;
3609 3611
@@ -4172,7 +4174,7 @@ static void ath10k_wmi_pdev_set_wmm_param(struct wmi_wmm_params *params,
4172} 4174}
4173 4175
4174int ath10k_wmi_pdev_set_wmm_params(struct ath10k *ar, 4176int ath10k_wmi_pdev_set_wmm_params(struct ath10k *ar,
4175 const struct wmi_pdev_set_wmm_params_arg *arg) 4177 const struct wmi_pdev_set_wmm_params_arg *arg)
4176{ 4178{
4177 struct wmi_pdev_set_wmm_params *cmd; 4179 struct wmi_pdev_set_wmm_params *cmd;
4178 struct sk_buff *skb; 4180 struct sk_buff *skb;