Revert "mwifiex: fix incorrect ht capability problem"
authorGanapathi Bhat <gbhat@marvell.com>
Fri, 9 Mar 2018 18:15:24 +0000 (23:45 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 13 Mar 2018 16:53:45 +0000 (18:53 +0200)
commit53a7094204b7f2b9016648b5c4b5ece8e810a461
tree054739a6f47c645b5c22a406eb5e2ae578dcc62b
parenteaab43e505d01ed19f63e08e52252cbc1c69b9b9
Revert "mwifiex: fix incorrect ht capability problem"

This reverts commit bcc920e8f08336cbbdcdba7c4449c27137e6b4b9.

Drivers gets hardware info and updates ht_cap field of
wiphy->bands during initialization. Once updated during init,
ht_cap must not be modified as it reflects the capability
supported by hardwawre. Above patch tries to modify the ht_cap
field and this results in wrongly advertising capabilities during
association.

Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c