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>
This commit is contained in:
Pontus Fuchs
2012-04-03 16:39:58 +02:00
committed by John W. Linville
parent 3a4b43fde1
commit d91df0e3a1
4 changed files with 20 additions and 3 deletions

View File

@@ -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);
};
/*