diff options
author | Beni Lev <beni.lev@intel.com> | 2012-08-27 12:49:39 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-18 10:53:38 +0200 |
commit | 4ee3e063f10acf6fd17c0ee6f1d0a95726e74cb2 (patch) | |
tree | 66b8846df1311155856710cabe811739451566ed /net/wireless/ibss.c | |
parent | 14e8a3c47e808772a5ba8118ef1f9a8d604dbbe5 (diff) |
cfg80211: add cfg80211 exported function tracing
Also add tracing to the API functions that drivers
(and mac80211) can call in cfg80211.
Signed-off-by: Beni Lev <beni.lev@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/ibss.c')
-rw-r--r-- | net/wireless/ibss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/ibss.c b/net/wireless/ibss.c index 7fda94fb1a3e..27941d5db72b 100644 --- a/net/wireless/ibss.c +++ b/net/wireless/ibss.c @@ -62,6 +62,8 @@ void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, gfp_t gfp) struct cfg80211_event *ev; unsigned long flags; + trace_cfg80211_ibss_joined(dev, bssid); + CFG80211_DEV_WARN_ON(wdev->sme_state != CFG80211_SME_CONNECTING); ev = kzalloc(sizeof(*ev), gfp); |