diff options
author | Hila Gonen <hila.gonen@intel.com> | 2012-06-27 10:19:42 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-18 04:53:37 -0400 |
commit | e35e4d28b687d4e849573419fdcf90f1cce2a14c (patch) | |
tree | 981265aea6c76bc8288c6000c0e935c2bbdd7f90 /net/wireless/chan.c | |
parent | de7044ee85a9ba9e8529b0250f2882724407c977 (diff) |
cfg80211: add wrappers for registered_device_ops
This will allow adding central tracing like in mac80211.
Signed-off-by: Hila Gonen <hila.gonen@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/chan.c')
-rw-r--r-- | net/wireless/chan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/chan.c b/net/wireless/chan.c index 2f876b9ee344..71c362587965 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/export.h> | 9 | #include <linux/export.h> |
10 | #include <net/cfg80211.h> | 10 | #include <net/cfg80211.h> |
11 | #include "core.h" | 11 | #include "core.h" |
12 | #include "rdev-ops.h" | ||
12 | 13 | ||
13 | struct ieee80211_channel * | 14 | struct ieee80211_channel * |
14 | rdev_freq_to_chan(struct cfg80211_registered_device *rdev, | 15 | rdev_freq_to_chan(struct cfg80211_registered_device *rdev, |
@@ -92,7 +93,7 @@ int cfg80211_set_monitor_channel(struct cfg80211_registered_device *rdev, | |||
92 | if (!chan) | 93 | if (!chan) |
93 | return -EINVAL; | 94 | return -EINVAL; |
94 | 95 | ||
95 | return rdev->ops->set_monitor_channel(&rdev->wiphy, chan, chantype); | 96 | return rdev_set_monitor_channel(rdev, chan, chantype); |
96 | } | 97 | } |
97 | 98 | ||
98 | void | 99 | void |