diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-11 00:01:54 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:22 -0400 |
commit | 213cd118cbb88b76ae48f92cfb7dbef9a83cca62 (patch) | |
tree | f0b2237af6e1336648e350541c3871397e976a41 /net/mac80211/main.c | |
parent | e16751c3178add97c4f83dcf92e59b536537b22f (diff) | |
download | op-kernel-dev-213cd118cbb88b76ae48f92cfb7dbef9a83cca62.zip op-kernel-dev-213cd118cbb88b76ae48f92cfb7dbef9a83cca62.tar.gz |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 4bfac4b..72e3f55 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, local->hw.queues = 1; /* default */ - local->bridge_packets = 1; - local->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD; local->fragmentation_threshold = IEEE80211_MAX_FRAG_THRESHOLD; local->short_retry_limit = 7; |