aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-10 18:01:54 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-15 16:48:22 -0400
commit213cd118cbb88b76ae48f92cfb7dbef9a83cca62 (patch)
treef0b2237af6e1336648e350541c3871397e976a41 /net/mac80211/main.c
parente16751c3178add97c4f83dcf92e59b536537b22f (diff)
mac80211: make bridge_packets a virtual interface option
The bridge_packets configuration really should be per virtual interface (theoretically per AP/VLAN, but this is much easier); there currently is no way to set it yet though. Also invert the option to "NO_BRIDGE_PACKETS" so the default is to bridge. While at it, also document the flags properly. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 4bfac4b41c51..72e3f5574e9f 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -1280,8 +1280,6 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
1280 1280
1281 local->hw.queues = 1; /* default */ 1281 local->hw.queues = 1; /* default */
1282 1282
1283 local->bridge_packets = 1;
1284
1285 local->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD; 1283 local->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD;
1286 local->fragmentation_threshold = IEEE80211_MAX_FRAG_THRESHOLD; 1284 local->fragmentation_threshold = IEEE80211_MAX_FRAG_THRESHOLD;
1287 local->short_retry_limit = 7; 1285 local->short_retry_limit = 7;