summaryrefslogtreecommitdiff
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorBill Jordan <bjordan@rajant.com>2010-10-01 11:20:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-05 13:35:25 -0400
commit1be7fe8de9f25e173282f8f989f83bc5b5decfe9 (patch)
treee7b45e034560f6dc0f0403d098d85e1c94a3b3e1 /net/mac80211/tx.c
parente8347ebad2f1b15bddb6ed3ed5f767531eb52dc3 (diff)
downloadlinux-3.10-1be7fe8de9f25e173282f8f989f83bc5b5decfe9.tar.gz
linux-3.10-1be7fe8de9f25e173282f8f989f83bc5b5decfe9.tar.bz2
linux-3.10-1be7fe8de9f25e173282f8f989f83bc5b5decfe9.zip
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/tx.c')
-rw-r--r--net/mac80211/tx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index e1733dcb58a..258fbdbedbd 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -273,6 +273,9 @@ ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx)
*/
return TX_DROP;
+ if (tx->sdata->vif.type == NL80211_IFTYPE_WDS)
+ return TX_CONTINUE;
+
if (tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT)
return TX_CONTINUE;