aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-04-23 14:43:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-23 14:43:45 -0400
commit3b51cc996e81d8a113416d8094fa4a88f8360a51 (patch)
treee75b98b228bb4e456c30673fcc4b56ffa1d09cf5 /net/mac80211/cfg.c
parentc68ed255265968c3948fa2678bf59d15c471b055 (diff)
parent672724403b42da1d276c6cf811e8e34d15efd964 (diff)
Merge branch 'master' into for-davem
Conflicts: drivers/net/wireless/ath/ath9k/phy.c drivers/net/wireless/iwlwifi/iwl-6000.c drivers/net/wireless/iwlwifi/iwl-debugfs.c
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 7dd7cda75cfa..845a6e6b9d89 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -411,6 +411,17 @@ static int ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev,
411 return ret; 411 return ret;
412} 412}
413 413
414static int ieee80211_dump_survey(struct wiphy *wiphy, struct net_device *dev,
415 int idx, struct survey_info *survey)
416{
417 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
418
419 if (!local->ops->get_survey)
420 return -EOPNOTSUPP;
421
422 return drv_get_survey(local, idx, survey);
423}
424
414static int ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, 425static int ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev,
415 u8 *mac, struct station_info *sinfo) 426 u8 *mac, struct station_info *sinfo)
416{ 427{
@@ -1508,6 +1519,7 @@ struct cfg80211_ops mac80211_config_ops = {
1508 .change_station = ieee80211_change_station, 1519 .change_station = ieee80211_change_station,
1509 .get_station = ieee80211_get_station, 1520 .get_station = ieee80211_get_station,
1510 .dump_station = ieee80211_dump_station, 1521 .dump_station = ieee80211_dump_station,
1522 .dump_survey = ieee80211_dump_survey,
1511#ifdef CONFIG_MAC80211_MESH 1523#ifdef CONFIG_MAC80211_MESH
1512 .add_mpath = ieee80211_add_mpath, 1524 .add_mpath = ieee80211_add_mpath,
1513 .del_mpath = ieee80211_del_mpath, 1525 .del_mpath = ieee80211_del_mpath,