From: Aarthi Thiruvengadam Date: Thu, 15 Mar 2012 21:36:11 +0000 (-0700) Subject: ath6kl: add debug log for AP MLME operations X-Git-Tag: v3.6-rc1~125^2~57^2~287^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7397ddebdf88758fb671a898e9aab72fe4d4af74;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index 79aa90b..16e4e5a 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); }