]> 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)
commit10b05fe12133b7fdc14ade4a120c58ce9026bb24
tree5f63bb840dba80ebc4fe74a48fb5c9edb7dfd852
parent6ff6187196cf7dbcf6586148178a1364a624167e
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