diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-23 17:16:50 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-23 21:52:53 +0400 |
commit | eeb126e9ee5d3b14913863fdd7d88fdbf158318f (patch) | |
tree | 1d6a4770ddd370866dfda11d5c17cb5d21d6b346 /net/wireless/core.c | |
parent | 5d0d04e477c44993f995f35b728ce9dd57a4615e (diff) | |
download | linux-eeb126e9ee5d3b14913863fdd7d88fdbf158318f.tar.xz |
cfg80211: add tracing for P2P Device start/stop
These were missed due to the tracing work having
started on a kernel that didn't have P2P Device
yet, implement them now.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r-- | net/wireless/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c index f280f48fbd43..ce1ad776dfb5 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -241,7 +241,7 @@ static int cfg80211_rfkill_set_block(void *data, bool blocked) case NL80211_IFTYPE_P2P_DEVICE: if (!wdev->p2p_started) break; - rdev->ops->stop_p2p_device(&rdev->wiphy, wdev); + rdev_stop_p2p_device(rdev, wdev); wdev->p2p_started = false; rdev->opencount--; break; @@ -774,7 +774,7 @@ void cfg80211_unregister_wdev(struct wireless_dev *wdev) case NL80211_IFTYPE_P2P_DEVICE: if (!wdev->p2p_started) break; - rdev->ops->stop_p2p_device(&rdev->wiphy, wdev); + rdev_stop_p2p_device(rdev, wdev); wdev->p2p_started = false; rdev->opencount--; break; |