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)
commitbcc920e8f08336cbbdcdba7c4449c27137e6b4b9
tree5f63bb840dba80ebc4fe74a48fb5c9edb7dfd852
parentc3ec0ff6425b86655aa34b5c6cb0f7b6d559c6b2
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