aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2013-03-08 08:46:15 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-03-18 15:10:05 -0400
commitd260ff12e7768444b4da7612b785cfd7cbc1d1c1 (patch)
treec17e653ae686bdaa70120217f824ee0fbdfa79aa /include
parentddbfe860acc39d4856a86186eb8a292426ea6224 (diff)
mac80211: remove vif debugfs driver callbacks
This basically reverts commit b207cdb07f3f01ec1adaac62e9d0cc918c60a81a. Now is possible to use drv_{add,remove}_interface() and vif->debugfs_dir to create/remove per interface debugfs files. Remove redundant callbacks. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 8b2c7506f5cb..0b912d22f82d 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2233,18 +2233,6 @@ enum ieee80211_roc_type {
2233 * MAC address of the device going away. 2233 * MAC address of the device going away.
2234 * Hence, this callback must be implemented. It can sleep. 2234 * Hence, this callback must be implemented. It can sleep.
2235 * 2235 *
2236 * @add_interface_debugfs: Drivers can use this callback to add debugfs files
2237 * when a vif is added to mac80211. This callback and
2238 * @remove_interface_debugfs should be within a CONFIG_MAC80211_DEBUGFS
2239 * conditional. @remove_interface_debugfs must be provided for cleanup.
2240 * This callback can sleep.
2241 *
2242 * @remove_interface_debugfs: Remove the debugfs files which were added using
2243 * @add_interface_debugfs. This callback must remove all debugfs entries
2244 * that were added because mac80211 only removes interface debugfs when the
2245 * interface is destroyed, not when it is removed from the driver.
2246 * This callback can sleep.
2247 *
2248 * @config: Handler for configuration requests. IEEE 802.11 code calls this 2236 * @config: Handler for configuration requests. IEEE 802.11 code calls this
2249 * function to change hardware configuration, e.g., channel. 2237 * function to change hardware configuration, e.g., channel.
2250 * This function should never fail but returns a negative error code 2238 * This function should never fail but returns a negative error code
@@ -2665,12 +2653,6 @@ struct ieee80211_ops {
2665 struct ieee80211_vif *vif, 2653 struct ieee80211_vif *vif,
2666 struct ieee80211_sta *sta, 2654 struct ieee80211_sta *sta,
2667 struct dentry *dir); 2655 struct dentry *dir);
2668 void (*add_interface_debugfs)(struct ieee80211_hw *hw,
2669 struct ieee80211_vif *vif,
2670 struct dentry *dir);
2671 void (*remove_interface_debugfs)(struct ieee80211_hw *hw,
2672 struct ieee80211_vif *vif,
2673 struct dentry *dir);
2674#endif 2656#endif
2675 void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 2657 void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
2676 enum sta_notify_cmd, struct ieee80211_sta *sta); 2658 enum sta_notify_cmd, struct ieee80211_sta *sta);