diff options
author | 2014-05-21 22:02:27 -0700 | |
---|---|---|
committer | 2014-05-22 14:04:37 -0400 | |
commit | 16e8552afd5ca3aa6d09b4903d89255e4cb8c66b (patch) | |
tree | db6fb9d8fabeb5a77aa25ab4e07044a17f812b97 /drivers/net/wireless/mwifiex | |
parent | ath9k: fix build error with disabled debug (diff) | |
download | linux-dev-16e8552afd5ca3aa6d09b4903d89255e4cb8c66b.tar.xz linux-dev-16e8552afd5ca3aa6d09b4903d89255e4cb8c66b.zip |
mwifiex: avoid TDLS check for packets destined to AP
In station role if TDLS is supported, we traverse TDLS peer list
to see if packet's destination address matches with TDLS peer.
Packets destined to AP are not sent over TDLS link and hence
avoid this list traversal for such packets.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r-- | drivers/net/wireless/mwifiex/wmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/wmm.c b/drivers/net/wireless/mwifiex/wmm.c index 789b86f80594..6d9738a5dc31 100644 --- a/drivers/net/wireless/mwifiex/wmm.c +++ b/drivers/net/wireless/mwifiex/wmm.c @@ -648,7 +648,7 @@ mwifiex_wmm_add_buf_txqueue(struct mwifiex_private *priv, if (ntohs(eth_hdr->h_proto) == ETH_P_TDLS) dev_dbg(adapter->dev, "TDLS setup packet for %pM. Don't block\n", ra); - else + else if (memcmp(priv->cfg_bssid, ra, ETH_ALEN)) tdls_status = mwifiex_get_tdls_link_status(priv, ra); } |