summaryrefslogtreecommitdiff
path: root/include
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 14:32:49 -0400
commitd91df0e3a1b9a7427785cb8d28be073df9b18b78 (patch)
treeecaafaaf178a20fdcbe21fc5c8e586527ab45aa1 /include
parent3a4b43fde103da510d8962a073bb748706f426bd (diff)
downloadlinux-3.10-d91df0e3a1b9a7427785cb8d28be073df9b18b78.tar.gz
linux-3.10-d91df0e3a1b9a7427785cb8d28be073df9b18b78.tar.bz2
linux-3.10-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')
-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 a587867375b..d17ad5f2b60 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);
};
/*