]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: Set/clear WPA keys before the WEP ones
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 18 Jan 2010 23:19:21 +0000 (00:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jan 2010 21:49:34 +0000 (16:49 -0500)
commit49dad5995d566ddd1166a2c351d37b07e58b73c4
treedeee8051dbee07bfe40563fc5dfa6ce685cbb417
parentc4045015a230f8df409ce4d781e7403c5ab50a60
libertas: Set/clear WPA keys before the WEP ones

With the v10 firmware running on 8688 HW, clearing WPA keys after setting the
WEP key prevents us from being able to associate with WEP APs.
Swapping the calling order for assoc_helper_wpa_keys() and
assoc_helper_wep_keys fixes that issue.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/assoc.c