projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8adcb
)
wil6210: trace disconnect source
author
Vladimir Kondratiev
<
[email protected]
>
Mon, 30 Mar 2015 08:28:52 +0000
(11:28 +0300)
committer
Kalle Valo
<
[email protected]
>
Tue, 28 Apr 2015 17:00:08 +0000
(20:00 +0300)
Trace where wil6210_disconnect() is called from.
Signed-off-by: Vladimir Kondratiev <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/wil6210/cfg80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/wil6210/cfg80211.c
b/drivers/net/wireless/ath/wil6210/cfg80211.c
index 6cc432d0b6637aeb0b2930309e5d2ceca74140da..37d5338ecfc768d1f2b14a93687a9757fc29afe1 100644
(file)
--- a/
drivers/net/wireless/ath/wil6210/cfg80211.c
+++ b/
drivers/net/wireless/ath/wil6210/cfg80211.c
@@
-507,6
+507,8
@@
static int wil_cfg80211_disconnect(struct wiphy *wiphy,
int rc;
struct wil6210_priv *wil = wiphy_to_wil(wiphy);
+ wil_dbg_misc(wil, "%s(reason=%d)\n", __func__, reason_code);
+
rc = wmi_send(wil, WMI_DISCONNECT_CMDID, NULL, 0);
return rc;
@@
-836,6
+838,9
@@
static int wil_cfg80211_del_station(struct wiphy *wiphy,
{
struct wil6210_priv *wil = wiphy_to_wil(wiphy);
+ wil_dbg_misc(wil, "%s(%pM, reason=%d)\n", __func__, params->mac,
+ params->reason_code);
+
mutex_lock(&wil->mutex);
wil6210_disconnect(wil, params->mac, params->reason_code, false);
mutex_unlock(&wil->mutex);