linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath6kl: add debug log for AP MLME operations
@ 2012-03-15 21:36 Aarthi Thiruvengadam
  2012-03-20  8:43 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Aarthi Thiruvengadam @ 2012-03-15 21:36 UTC (permalink / raw)
  To: kvalo; +Cc: ath6kl-devel, linux-wireless, Aarthi Thiruvengadam

This is useful during debugging to check if disconnect commands were issued by
the host.

Signed-off-by: Aarthi Thiruvengadam <athiruve@qca.qualcomm.com>
---
 drivers/net/wireless/ath/ath6kl/wmi.c |    2 ++
 1 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 79aa90b..2ed0a7d 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.c
+++ b/drivers/net/wireless/ath/ath6kl/wmi.c
@@ -3030,6 +3030,8 @@ 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);
 }
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ath6kl: add debug log for AP MLME operations
  2012-03-15 21:36 [PATCH] ath6kl: add debug log for AP MLME operations Aarthi Thiruvengadam
@ 2012-03-20  8:43 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2012-03-20  8:43 UTC (permalink / raw)
  To: Aarthi Thiruvengadam; +Cc: ath6kl-devel, linux-wireless

On 03/15/2012 11:36 PM, Aarthi Thiruvengadam wrote:
> This is useful during debugging to check if disconnect commands were issued by
> the host.
> 
> Signed-off-by: Aarthi Thiruvengadam <athiruve@qca.qualcomm.com>

Thanks, applied. For some reason the patch was corrupted and I had to
add the code manually. Please check that I didn't do anything wrong.

Kalle

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-20  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 21:36 [PATCH] ath6kl: add debug log for AP MLME operations Aarthi Thiruvengadam
2012-03-20  8:43 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).