aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-08 01:04:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-08 01:04:44 +0000
commit91c6b16bed167309617d6df3bd3548ebe7032599 (patch)
treedcc6955eb5688f5faedead1d71158bca0bbb16d0 /package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch
parent1558f59c5d57abc2e2319fff5ec54f9a7d6ccc5b (diff)
downloadupstream-91c6b16bed167309617d6df3bd3548ebe7032599.tar.gz
upstream-91c6b16bed167309617d6df3bd3548ebe7032599.tar.bz2
upstream-91c6b16bed167309617d6df3bd3548ebe7032599.zip
mac80211: fix support for iftype wds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26531 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch')
-rw-r--r--package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch b/package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch
new file mode 100644
index 0000000000..f9925732bd
--- /dev/null
+++ b/package/mac80211/patches/550-mac80211_remove_wds_sta_flag.patch
@@ -0,0 +1,28 @@
+--- a/net/mac80211/sta_info.h
++++ b/net/mac80211/sta_info.h
+@@ -31,7 +31,6 @@
+ * frames.
+ * @WLAN_STA_ASSOC_AP: We're associated to that station, it is an AP.
+ * @WLAN_STA_WME: Station is a QoS-STA.
+- * @WLAN_STA_WDS: Station is one of our WDS peers.
+ * @WLAN_STA_CLEAR_PS_FILT: Clear PS filter in hardware (using the
+ * IEEE80211_TX_CTL_CLEAR_PS_FILT control flag) when the next
+ * frame to this station is transmitted.
+@@ -54,7 +53,6 @@ enum ieee80211_sta_info_flags {
+ WLAN_STA_SHORT_PREAMBLE = 1<<4,
+ WLAN_STA_ASSOC_AP = 1<<5,
+ WLAN_STA_WME = 1<<6,
+- WLAN_STA_WDS = 1<<7,
+ WLAN_STA_CLEAR_PS_FILT = 1<<9,
+ WLAN_STA_MFP = 1<<10,
+ WLAN_STA_BLOCK_BA = 1<<11,
+--- a/net/mac80211/debugfs_sta.c
++++ b/net/mac80211/debugfs_sta.c
+@@ -67,7 +67,6 @@ static ssize_t sta_flags_read(struct fil
+ staflags & WLAN_STA_AUTHORIZED ? "AUTHORIZED\n" : "",
+ staflags & WLAN_STA_SHORT_PREAMBLE ? "SHORT PREAMBLE\n" : "",
+ staflags & WLAN_STA_WME ? "WME\n" : "",
+- staflags & WLAN_STA_WDS ? "WDS\n" : "",
+ staflags & WLAN_STA_MFP ? "MFP\n" : "");
+ return simple_read_from_buffer(userbuf, count, ppos, buf, res);
+ }