summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAarthi Thiruvengadam2012-03-15 22:36:11 +0100
committerKalle Valo2012-03-20 09:42:36 +0100
commit7397ddebdf88758fb671a898e9aab72fe4d4af74 (patch)
treeeafea370433f7742ee6504f99b36ebd7e655b0cb /drivers/net
parentath6kl: handle probe response from P2P device in P2P GO mode (diff)
downloadkernel-qcow2-linux-7397ddebdf88758fb671a898e9aab72fe4d4af74.tar.gz
kernel-qcow2-linux-7397ddebdf88758fb671a898e9aab72fe4d4af74.tar.xz
kernel-qcow2-linux-7397ddebdf88758fb671a898e9aab72fe4d4af74.zip
ath6kl: add debug log for AP MLME operations
This is useful during debugging to check if disconnect commands were issued by the host. Signed-off-by: Aarthi Thiruvengadam <athiruve@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c
index 79aa90ba9163..16e4e5a647a1 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.c
+++ b/drivers/net/wireless/ath/ath6kl/wmi.c
@@ -3030,6 +3030,9 @@ int ath6kl_wmi_ap_set_mlme(struct wmi *wmip, u8 if_idx, u8 cmd, const u8 *mac,
cm->reason = cpu_to_le16(reason);
cm->cmd = cmd;
+ ath6kl_dbg(ATH6KL_DBG_WMI, "ap_set_mlme: cmd=%d reason=%d\n", cm->cmd,
+ cm->reason);
+
return ath6kl_wmi_cmd_send(wmip, if_idx, skb, WMI_AP_SET_MLME_CMDID,
NO_SYNC_WMIFLAG);
}