mwifiex: avoid TDLS check for packets destined to AP
authorAvinash Patil <patila@marvell.com>
Thu, 22 May 2014 05:02:27 +0000 (22:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2014 18:04:37 +0000 (14:04 -0400)
commit16e8552afd5ca3aa6d09b4903d89255e4cb8c66b
treedb6fb9d8fabeb5a77aa25ab4e07044a17f812b97
parentb7a5970144421c7eed60a46a6d1fdca931462abd
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>
drivers/net/wireless/mwifiex/wmm.c