From: Xinming Hu <h...@marvell.com>

This patch wrapper wps ie in pass through tlv, so that
firmware could parse correctly.

Signed-off-by: Xinming Hu <h...@marvell.com>
Signed-off-by: Cathy Luo <c...@marvell.com>
Signed-off-by: Ganapathi Bhat <gb...@marvell.com>
---
 drivers/net/wireless/marvell/mwifiex/join.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/join.c 
b/drivers/net/wireless/marvell/mwifiex/join.c
index b89596c..d87aeff 100644
--- a/drivers/net/wireless/marvell/mwifiex/join.c
+++ b/drivers/net/wireless/marvell/mwifiex/join.c
@@ -253,7 +253,7 @@ static int mwifiex_get_common_rates(struct mwifiex_private 
*priv, u8 *rate1,
                            priv->wps_ie_len, *buffer);
 
                /* Wrap the generic IE buffer with a pass through TLV type */
-               ie_header.type = cpu_to_le16(TLV_TYPE_MGMT_IE);
+               ie_header.type = cpu_to_le16(TLV_TYPE_PASSTHROUGH);
                ie_header.len = cpu_to_le16(priv->wps_ie_len);
                memcpy(*buffer, &ie_header, sizeof(ie_header));
                *buffer += sizeof(ie_header);
-- 
1.9.1

Reply via email to