summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2012-04-09 20:06:56 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 15:10:30 -0400
commit13d7ba78b514d8b720a82b9bddaaee0c004f2a1f (patch)
tree67b4c0c68245e362462bca7973da17c48f858df5 /drivers/net/wireless/mwifiex/init.c
parent5e218b7ab86ed6eb3d1432146c49cbb8733414d0 (diff)
downloadop-kernel-dev-13d7ba78b514d8b720a82b9bddaaee0c004f2a1f.zip
op-kernel-dev-13d7ba78b514d8b720a82b9bddaaee0c004f2a1f.tar.gz
mwifiex: add support for WPS2.0
This patches enables setting association request and probe request IE for station interface. WPS exchange between WPS2.0 AP and mwifiex STA Enrollee/External Registrar completes successfully. Tested with wpa_supplicant 1.0 and 2.0 devel. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/init.c')
-rw-r--r--drivers/net/wireless/mwifiex/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index 54bb483..0d55c5b 100644
--- a/drivers/net/wireless/mwifiex/init.c
+++ b/drivers/net/wireless/mwifiex/init.c
@@ -131,6 +131,8 @@ static int mwifiex_init_priv(struct mwifiex_private *priv)
priv->wmm_qosinfo = 0;
priv->curr_bcn_buf = NULL;
priv->curr_bcn_size = 0;
+ priv->wps_ie = NULL;
+ priv->wps_ie_len = 0;
priv->scan_block = false;
OpenPOWER on IntegriCloud