mwifiex: discard deauth and disassoc event during WPS session
authorStone Piao <piaoyun@marvell.com>
Tue, 23 Jul 2013 02:17:43 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:06 +0000 (11:02 -0400)
commiteaf49dbc4b7ef7e9fe420713730e403c9ba0bef1
tree31c70d138aeb0b02737503bd3f066b76369f2e17
parent231d83e29e44e39d987ea4c33caf7869cf5ef4c7
mwifiex: discard deauth and disassoc event during WPS session

Some GO will send deauth or disassoc packet at the end of WPS
handshake, which causes P2P connecion failure due to the race
condition between event path and data path.

Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_event.c