]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix incorrect privacy setting in beacon and probe response
authorAvinash Patil <patila@marvell.com>
Tue, 12 Jun 2012 01:13:57 +0000 (18:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jun 2012 18:41:00 +0000 (14:41 -0400)
commit618acb807a79e12c4e6891b2f04fc99a1e503091
tree82903d514ae9ba8db61d3ddf52deeda0289187eb
parent64ad2011c910458a42273ca7f0b56b650e317a38
mwifiex: fix incorrect privacy setting in beacon and probe response

Test procedure:
1. Start AP with security setting (e.g. WPA2)
2. Stop AP
3. Start AP with open security

Here it's observed that privacy is enabled in beacons and
probe responses.

This patch fixes it by checking the privacy parameter from
cfg80211_ap_settings. If privacy is not set in cfg80211_ap_settings,
set open authentication and no encryption in FW.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/uap_cmd.c