mwifiex: fix association issue with AP configured in hidden SSID mode
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 10 Nov 2011 05:36:21 +0000 (21:36 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 16:03:25 +0000 (11:03 -0500)
commitfada10584d3890258e59da73728510ad7e08a033
tree5d349d2c8ef7d4fac0bdd19b08c6aff4ec639d44
parent43e58856585f8c61e6a4a0f1fd6996d78799a973
mwifiex: fix association issue with AP configured in hidden SSID mode

Firmware expects 'max_ssid_length' field in
'struct mwifiex_ie_types_wildcard_ssid_params' to be '0' for
performing SSID specific scan. Currently driver updates it with
an actual SSID length. Hence UUT is not able to find the AP
configured in hidden SSID mode in scan results and association
fails.

max_ssid_length is filled with '0' to fix the issue.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/scan.c