aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/520-cfg80211_get_freq.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-05-15 15:56:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-05-15 15:56:51 +0000
commit48e4708a34a37be043ae0471047127430702b39a (patch)
treec5d6df8c3628e6c8a5e9a61ce111715dc9b0113c /package/mac80211/patches/520-cfg80211_get_freq.patch
parentcfec944f426b948f8bd5ef81e402c81e29e3eb1c (diff)
downloadupstream-48e4708a34a37be043ae0471047127430702b39a.tar.gz
upstream-48e4708a34a37be043ae0471047127430702b39a.tar.bz2
upstream-48e4708a34a37be043ae0471047127430702b39a.zip
mac80211: update to wireless-testing 2010-05-12 plus some pending patches
SVN-Revision: 21454
Diffstat (limited to 'package/mac80211/patches/520-cfg80211_get_freq.patch')
-rw-r--r--package/mac80211/patches/520-cfg80211_get_freq.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/package/mac80211/patches/520-cfg80211_get_freq.patch b/package/mac80211/patches/520-cfg80211_get_freq.patch
deleted file mode 100644
index 26190c63b6..0000000000
--- a/package/mac80211/patches/520-cfg80211_get_freq.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- a/net/wireless/core.h
-+++ b/net/wireless/core.h
-@@ -76,6 +76,7 @@ struct cfg80211_registered_device {
-
- /* current channel */
- struct ieee80211_channel *channel;
-+ enum nl80211_channel_type channel_type;
-
- /* must be last because of the way we do wiphy_priv(),
- * and it should at least be aligned to NETDEV_ALIGN */
---- a/net/wireless/chan.c
-+++ b/net/wireless/chan.c
-@@ -97,6 +97,7 @@ int rdev_set_freq(struct cfg80211_regist
- return result;
-
- rdev->channel = chan;
-+ rdev->channel_type = channel_type;
-
- return 0;
- }
---- a/net/wireless/nl80211.c
-+++ b/net/wireless/nl80211.c
-@@ -887,6 +887,11 @@ static int nl80211_send_iface(struct sk_
- NLA_PUT_U32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx);
- NLA_PUT_STRING(msg, NL80211_ATTR_IFNAME, dev->name);
- NLA_PUT_U32(msg, NL80211_ATTR_IFTYPE, dev->ieee80211_ptr->iftype);
-+ if (rdev->channel) {
-+ NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_FREQ, rdev->channel->center_freq);
-+ NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_CHANNEL_TYPE, rdev->channel_type);
-+ }
-+
-
- NLA_PUT_U32(msg, NL80211_ATTR_GENERATION,
- rdev->devlist_generation ^