]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath6kl: add debug log for AP MLME operations
authorAarthi Thiruvengadam <athiruve@qca.qualcomm.com>
Thu, 15 Mar 2012 21:36:11 +0000 (14:36 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 20 Mar 2012 08:42:36 +0000 (10:42 +0200)
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>
drivers/net/wireless/ath/ath6kl/wmi.c

index 79aa90ba9163f2940f2a8f5e7e8ca124b8f400e8..16e4e5a647a142ffc3cb60c93f070ca25ad4c903 100644 (file)
@@ -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);
 }