mwifiex: don't always include ht/vht info in tdls confirm frame
authorAniket Nagarnaik <aniketn@marvell.com>
Fri, 18 Sep 2015 13:32:08 +0000 (06:32 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:47:34 +0000 (10:47 +0300)
commit2c3da961268ff7f4a6c958fee081c58aef2e5c1d
treeed9b941de9f06b50379789eee4eba97e1b18c717
parent02421dd3f6af1b6becb6d9a690a2b70c73c03a7a
mwifiex: don't always include ht/vht info in tdls confirm frame

Current TDLS implementation always includes ht/vht information
in tdls setup confirm frame which causes teardown by legacy
peer station after TDLS handshake. We will inclue ht/vht
capabilities in tdls setup confirm frame only if peer station
supports it to fix this problem.

Signed-off-by: Aniket Nagarnaik <aniketn@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/tdls.c