mac80211: fix support for iftype wds
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 550-mac80211_remove_wds_sta_flag.patch
1 --- a/net/mac80211/sta_info.h
2 +++ b/net/mac80211/sta_info.h
3 @@ -31,7 +31,6 @@
4 * frames.
5 * @WLAN_STA_ASSOC_AP: We're associated to that station, it is an AP.
6 * @WLAN_STA_WME: Station is a QoS-STA.
7 - * @WLAN_STA_WDS: Station is one of our WDS peers.
8 * @WLAN_STA_CLEAR_PS_FILT: Clear PS filter in hardware (using the
9 * IEEE80211_TX_CTL_CLEAR_PS_FILT control flag) when the next
10 * frame to this station is transmitted.
11 @@ -54,7 +53,6 @@ enum ieee80211_sta_info_flags {
12 WLAN_STA_SHORT_PREAMBLE = 1<<4,
13 WLAN_STA_ASSOC_AP = 1<<5,
14 WLAN_STA_WME = 1<<6,
15 - WLAN_STA_WDS = 1<<7,
16 WLAN_STA_CLEAR_PS_FILT = 1<<9,
17 WLAN_STA_MFP = 1<<10,
18 WLAN_STA_BLOCK_BA = 1<<11,
19 --- a/net/mac80211/debugfs_sta.c
20 +++ b/net/mac80211/debugfs_sta.c
21 @@ -67,7 +67,6 @@ static ssize_t sta_flags_read(struct fil
22 staflags & WLAN_STA_AUTHORIZED ? "AUTHORIZED\n" : "",
23 staflags & WLAN_STA_SHORT_PREAMBLE ? "SHORT PREAMBLE\n" : "",
24 staflags & WLAN_STA_WME ? "WME\n" : "",
25 - staflags & WLAN_STA_WDS ? "WDS\n" : "",
26 staflags & WLAN_STA_MFP ? "MFP\n" : "");
27 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
28 }