staging: ath6kl: open/shared auth implementation
authorNaveen Singh <nsingh@atheros.com>
Fri, 29 Apr 2011 17:02:31 +0000 (20:02 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:09:43 +0000 (12:09 -0700)
commit9ae62107fb9010e902e60259c6a461c68885d0c7
tree86faf26b48d567bfc86d1c3648107eb44141d2b8
parent60c87f1453e8d53e14941c2d99861a21282942a5
staging: ath6kl: open/shared auth implementation

If the wpa_supplicant conf file supplies both open and shared
algorithm, and AP is configured as shared then connection never
happens. Since it is a FMAC driver additional logic is added in
driver which first detects this, then tries open algorithm for the
first time and when it fails tries the shared algo.

kvalo: fix style issues

Signed-off-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Kalle Valo <kalle.valo@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/include/common/wmi.h
drivers/staging/ath6kl/os/linux/ar6000_drv.c
drivers/staging/ath6kl/os/linux/cfg80211.c
drivers/staging/ath6kl/os/linux/include/ar6000_drv.h