summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pxa2xx_base.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-01-02 16:18:40 -0800
committerJohn W. Linville <linville@tuxdriver.com>2012-01-03 14:40:45 -0500
commitb015dbc0f95eef34819515bd403a62569bca23df (patch)
tree628a5820226435e6f3b2e302c5dda8a80368c1d7 /drivers/pcmcia/pxa2xx_base.h
parent09009512e5e7ab341b1554a256f81dd512c1f4bf (diff)
downloadblackbird-op-linux-b015dbc0f95eef34819515bd403a62569bca23df.tar.gz
blackbird-op-linux-b015dbc0f95eef34819515bd403a62569bca23df.zip
mwifiex: fix crash during simultaneous scan and connect
If 'iw connect' command is fired when driver is already busy in serving 'iw scan' command, ssid specific scan operation for connect is skipped. In this case cmd wait queue handler gets called with no command in queue (i.e. adapter->cmd_queued = NULL). This patch adds a NULL check in mwifiex_wait_queue_complete() routine to fix crash observed during simultaneous scan and assoc operations. 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>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_base.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud