staging: ath6kl: Fixing key settings for WPA/WPA2
commite8763b5fe88a0ef8858cd614d961578d34b673a0
authorVipin Mehta <vmehta@atheros.com>
Fri, 18 Feb 2011 21:13:03 +0000 (18 13:13 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 21:28:49 +0000 (18 13:28 -0800)
treee2f25c1e86575778e891d34d15dd58ca8cbf9132
parentda101d563503d399d92412e833b6d5ae49c8ee5d
staging: ath6kl: Fixing key settings for WPA/WPA2

A bug was observed during the reconnection phase in the WPA/WPA2-PSK scenario
where the EAPOL frames were going encrypted during an auto reconnection
attempt. The initial 4-way handshake would go fine but then the driver
was getting a command to set default keys sometime later. Setting of an
incorrect flag (TX_USAGE) in the hadrware was causing the EAPOL frames during
the subsequent 4-way handshake attempts to go encrypted causing the AP to
reject the station.

Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/cfg80211.c