]> git.openfabrics.org - ~emulex/infiniband.git/commit
libertas: copy WPA keys to priv when associating
authorAndrey Yurovsky <andrey@cozybit.com>
Thu, 18 Jun 2009 01:45:34 +0000 (18:45 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:54 +0000 (15:01 -0400)
commitce8d096dac70e92a506d2f686ae4f724f42052cf
tree6f3d933c5aff406de34b7abb1ef638c2ea99c348
parent9834c079d130217c8c5ac8791428ebeb8c660538
libertas: copy WPA keys to priv when associating

Libertas currently maintains a copy of the WPA unicast and group keys
when using WPA or WPA2.  This copy is checked when deciding whether or
not to return to sleep in IEEE PS mode but the actual copying back to
priv was omitted, which breaks IEEE PS mode with WPA/WPA2 when one
issues commands that require temporarily keeping the device awake.

This patch introduces the omitted copy-back of the keys so that IEEE PS
functions correctly in WPA/WPA2 mode.  Thanks to Dan Williams for
clearing up the issue.

V2: fix typo.  Also, this has been tested on GSPI and SDIO with V9 firmware.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/assoc.c