summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/sta_ioctl.c
diff options
context:
space:
mode:
authorAmitkumar Karwar2011-05-04 05:11:45 +0200
committerJohn W. Linville2011-05-05 20:59:15 +0200
commit57f16b5da03784d1660133fbec7281ea5735da69 (patch)
tree33635aa591d5ab0332dea61cdf6f64dc6b3b0ca6 /drivers/net/wireless/mwifiex/sta_ioctl.c
parentrtlwifi: rtl8192se: Modify Kconfig and Makefile routines for new driver (diff)
downloadkernel-qcow2-linux-57f16b5da03784d1660133fbec7281ea5735da69.tar.gz
kernel-qcow2-linux-57f16b5da03784d1660133fbec7281ea5735da69.tar.xz
kernel-qcow2-linux-57f16b5da03784d1660133fbec7281ea5735da69.zip
mwifiex: fix simultaneous assoc and scan issue
When scan and assoc (infra/ibss) commands are simultaneously given in two terminals, association response is erroneously served while serving the scan response. mwifiex_cfg80211_results() is the common routine for sending ioctl (scan, assoc etc.) results to cfg80211 stack. In above scenario even if the common routine is called for scan ioctl context, it also tries to send information about assoc ioctl to cfg80211 because "priv->assoc_request/priv->ibss_join_request" flag is on at that time. Fix the issue by updating request variable after assoc handling and modifying the variable check in mwifiex_cfg80211_results. Signed-off-by: Amitkumar Karwar <akarwar@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/sta_ioctl.c')
0 files changed, 0 insertions, 0 deletions