]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: fix bug in wildcard scan handling
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 28 Feb 2012 06:04:15 +0000 (22:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:23:13 +0000 (15:23 -0500)
commitbe0b281e8f7afd56d2250a568b85dafc850bc9ae
tree8477ec08085bde90c7b99e3070db50309e4a22fc
parentb9be5f39bdabb25708a9de294c2cae7bdd8dfb17
mwifiex: fix bug in wildcard scan handling

Currently if valid SSID list is provided in scan request, driver
performs specific SSID scan otherwise wildcard scan is chosen.

When wpa_supplicant provides valid SSID list followed by
zero-length SSID for wildcard scan, only specific SSID scan is
performed by driver. Actually driver is expected to do both type
of scanning in this case. The patch fixes this issue.

Also, use SSID list pointer provided by stack directly, instead
of copying SSID's to local structure.

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/cfg80211.c
drivers/net/wireless/mwifiex/fw.h
drivers/net/wireless/mwifiex/scan.c