mwifiex: fix WPS eapol handshake failure
authorStone Piao <piaoyun@marvell.com>
Thu, 21 Jun 2012 03:21:11 +0000 (20:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Jun 2012 17:59:49 +0000 (13:59 -0400)
commitf03ba7e9a24e5e9efaad56bd1713b994ea556b16
treea251ea7e4b1c421a134ffff40aaa1c2c115f44ae
parent925839243dc9aa4ef25305f5afd10ed18258a4ac
mwifiex: fix WPS eapol handshake failure

After association, STA will go through eapol handshake with WPS
enabled AP. It's observed that WPS handshake fails with some 11n
AP. The reason for the failure is that the eapol packet is sent
via 11n frame aggregation.

The eapol packet should be sent directly without 11n aggregation.

This patch fixes the problem by adding WPS session control while
dequeuing Tx packets for transmission.

Cc: "3.4.y" <stable@vger.kernel.org>
Signed-off-by: Stone Piao <piaoyun@marvell.com>
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/wmm.c