aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/wmi.c
diff options
context:
space:
mode:
authorThomas Pedersen <twpedersen@qca.qualcomm.com>2011-12-30 04:57:00 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2012-01-02 11:50:42 -0500
commit4f34dacea117029dbad1f0f50d68207b97546d1e (patch)
treea24eaf6691176efa6c043216dd75afdf83f09c1c /drivers/net/wireless/ath/ath6kl/wmi.c
parent792ecb33080f4e315695e0fe21cf3a3c2a514dd0 (diff)
ath6kl: send TCMD response through testmode events
ath6kl no longer knows what it is transmitting through cfg80211_testmode, and simply passes opaque buffers between userspace and the firmware. Leave the CONT_RX enum for backwards compatibility. kvalo: change ATH6KL_TM_CMD_RX_REPORT to return -EOPNOTSUPP Signed-off-by: Thomas Pedersen <twpedersen@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c
index 1e31c38abb4f..c6ca660d270a 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.c
+++ b/drivers/net/wireless/ath/ath6kl/wmi.c
@@ -1145,9 +1145,9 @@ static int ath6kl_wmi_bitrate_reply_rx(struct wmi *wmi, u8 *datap, int len)
1145 return 0; 1145 return 0;
1146} 1146}
1147 1147
1148static int ath6kl_wmi_tcmd_test_report_rx(struct wmi *wmi, u8 *datap, int len) 1148static int ath6kl_wmi_test_rx(struct wmi *wmi, u8 *datap, int len)
1149{ 1149{
1150 ath6kl_tm_rx_report_event(wmi->parent_dev, datap, len); 1150 ath6kl_tm_rx_event(wmi->parent_dev, datap, len);
1151 1151
1152 return 0; 1152 return 0;
1153} 1153}
@@ -3402,7 +3402,7 @@ int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb)
3402 break; 3402 break;
3403 case WMI_TEST_EVENTID: 3403 case WMI_TEST_EVENTID:
3404 ath6kl_dbg(ATH6KL_DBG_WMI, "WMI_TEST_EVENTID\n"); 3404 ath6kl_dbg(ATH6KL_DBG_WMI, "WMI_TEST_EVENTID\n");
3405 ret = ath6kl_wmi_tcmd_test_report_rx(wmi, datap, len); 3405 ret = ath6kl_wmi_test_rx(wmi, datap, len);
3406 break; 3406 break;
3407 case WMI_GET_FIXRATES_CMDID: 3407 case WMI_GET_FIXRATES_CMDID:
3408 ath6kl_dbg(ATH6KL_DBG_WMI, "WMI_GET_FIXRATES_CMDID\n"); 3408 ath6kl_dbg(ATH6KL_DBG_WMI, "WMI_GET_FIXRATES_CMDID\n");