]> asedeno.scripts.mit.edu Git - linux.git/commit
mwifiex: fix incorrect ht capability problem
authorGanapathi Bhat <gbhat@marvell.com>
Fri, 9 Mar 2018 18:15:25 +0000 (23:45 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 13 Mar 2018 16:53:46 +0000 (18:53 +0200)
commit77423fa739274a4c7b0e7ad90ca52ef22bdbe84e
tree0a3a1fbcd6d4325a8bddfaa88cf35f0bbb2ce816
parent53a7094204b7f2b9016648b5c4b5ece8e810a461
mwifiex: fix incorrect ht capability problem

IEEE80211_CHAN_NO_HT40PLUS and IEEE80211_CHAN_NO_HT40PLUS channel
flags tell if HT40 operation is allowed on a channel or not.

This patch ensures ht_capability information is modified
accordingly so that we don't end up creating a HT40 connection
when it's not allowed for current regulatory domain.

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/11n.c