diff options
author | Bill Jordan <bjordan@rajant.com> | 2010-10-01 11:20:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-05 13:35:25 -0400 |
commit | 1be7fe8de9f25e173282f8f989f83bc5b5decfe9 (patch) | |
tree | e7b45e034560f6dc0f0403d098d85e1c94a3b3e1 /net/mac80211/iface.c | |
parent | e8347ebad2f1b15bddb6ed3ed5f767531eb52dc3 (diff) |
mac80211: fix for WDS interfaces
Initialize the rate table for WDS interfaces, and
add cases to allow WDS packets to pass the xmit and receive
tests.
Signed-off-by: Bill Jordan <bjordan@rajant.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 1300e8859ea7..438a2f51420e 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "led.h" | 24 | #include "led.h" |
25 | #include "driver-ops.h" | 25 | #include "driver-ops.h" |
26 | #include "wme.h" | 26 | #include "wme.h" |
27 | #include "rate.h" | ||
27 | 28 | ||
28 | /** | 29 | /** |
29 | * DOC: Interface list locking | 30 | * DOC: Interface list locking |
@@ -311,6 +312,8 @@ static int ieee80211_do_open(struct net_device *dev, bool coming_up) | |||
311 | /* STA has been freed */ | 312 | /* STA has been freed */ |
312 | goto err_del_interface; | 313 | goto err_del_interface; |
313 | } | 314 | } |
315 | |||
316 | rate_control_rate_init(sta); | ||
314 | } | 317 | } |
315 | 318 | ||
316 | /* | 319 | /* |