mwifiex: fix invalid HT IE configuration in FW
authorZhaoyang Liu <liuzy@marvell.com>
Mon, 13 Apr 2015 16:02:25 +0000 (21:32 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:25:21 +0000 (16:25 +0300)
commit9ab7b5b9b16025dab62b0f2c8d7f54cfce76e9c1
treea17c2c547b12795c545cd0ea8325756a70678ca5
parent31a09a5d347854a9af29aa901f4f8ebd245ea78b
mwifiex: fix invalid HT IE configuration in FW

This patch fixes an issue where it was discovered that driver is setting
invalid HT IEs to FW. This was happening because bug in parsing HT IE.
Driver would incorrectly point to start of HT IE while FW only needs actual
HT configuration - excluding EID and length.

Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/uap_cmd.c
drivers/net/wireless/mwifiex/util.c