diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2012-06-29 06:47:06 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-29 07:39:18 -0400 |
commit | 2e165b818456ecc1024dd0387eeac64745526377 (patch) | |
tree | 6cf33c9bf61f9fbf3849f9d98cffc72bc7f8c37d /include | |
parent | a69b40a95b121c4bfc52a20cccd28708ae550af1 (diff) |
cfg80211/mac80211: remove .get_channel
We do not need it anymore since cfg80211 tracks
monitor channel and monitor channel type.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/cfg80211.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index f0d213dd8fe7..fa269347355b 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1501,9 +1501,6 @@ struct cfg80211_gtk_rekey_data { | |||
1501 | * be stored for when a monitor interface becomes active. | 1501 | * be stored for when a monitor interface becomes active. |
1502 | * @set_monitor_enabled: Notify driver that there are only monitor | 1502 | * @set_monitor_enabled: Notify driver that there are only monitor |
1503 | * interfaces running. | 1503 | * interfaces running. |
1504 | * @get_channel: Get the current operating channel, should return %NULL if | ||
1505 | * there's no single defined operating channel if for example the | ||
1506 | * device implements channel hopping for multi-channel virtual interfaces. | ||
1507 | * | 1504 | * |
1508 | * @scan: Request to do a scan. If returning zero, the scan request is given | 1505 | * @scan: Request to do a scan. If returning zero, the scan request is given |
1509 | * the driver, and will be valid until passed to cfg80211_scan_done(). | 1506 | * the driver, and will be valid until passed to cfg80211_scan_done(). |
@@ -1810,9 +1807,6 @@ struct cfg80211_ops { | |||
1810 | struct net_device *dev, | 1807 | struct net_device *dev, |
1811 | u16 noack_map); | 1808 | u16 noack_map); |
1812 | 1809 | ||
1813 | struct ieee80211_channel *(*get_channel)(struct wiphy *wiphy, | ||
1814 | enum nl80211_channel_type *type); | ||
1815 | |||
1816 | int (*get_et_sset_count)(struct wiphy *wiphy, | 1810 | int (*get_et_sset_count)(struct wiphy *wiphy, |
1817 | struct net_device *dev, int sset); | 1811 | struct net_device *dev, int sset); |
1818 | void (*get_et_stats)(struct wiphy *wiphy, struct net_device *dev, | 1812 | void (*get_et_stats)(struct wiphy *wiphy, struct net_device *dev, |