summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorPontus Fuchs <pontus.fuchs@gmail.com>2012-04-03 16:39:58 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-04-13 20:32:49 +0200
commitd91df0e3a1b9a7427785cb8d28be073df9b18b78 (patch)
treeecaafaaf178a20fdcbe21fc5c8e586527ab45aa1 /include/net/cfg80211.h
parentrt2800: zero registers of unused TX rings (diff)
downloadlinux-d91df0e3a1b9a7427785cb8d28be073df9b18b78.tar.xz
linux-d91df0e3a1b9a7427785cb8d28be073df9b18b78.zip
cfg80211: Add channel information to NL80211_CMD_GET_INTERFACE
If the current channel is known, add frequency and channel type to NL80211_CMD_GET_INTERFACE. Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index a587867375b2..d17ad5f2b603 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1710,7 +1710,8 @@ struct cfg80211_ops {
struct net_device *dev,
u16 noack_map);
- struct ieee80211_channel *(*get_channel)(struct wiphy *wiphy);
+ struct ieee80211_channel *(*get_channel)(struct wiphy *wiphy,
+ enum nl80211_channel_type *type);
};
/*