]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix incorrect ht capability problem
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 11 Apr 2016 14:52:41 +0000 (07:52 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Apr 2016 13:01:47 +0000 (16:01 +0300)
commit3144f02fdd184c53f048b2e1e90fe5af610eec4c
tree5f63bb840dba80ebc4fe74a48fb5c9edb7dfd852
parent67a8e97136588aefe16e674c8d0f17810cb311eb
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: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c