]> git.karo-electronics.de Git - karo-tx-linux.git/commit
orinoco: allow IW_AUTH_MFP to pass through
authorDavid Kilroy <kilroyd@googlemail.com>
Thu, 2 Dec 2010 18:19:21 +0000 (18:19 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 21:09:12 +0000 (16:09 -0500)
commit329b32fedc94fd9158f1635ac64f4ae6a00d374c
treea7e3c724c5bf49bd5bab4a6faed9768ca7bf79af
parent541a45a142df281c974d74eac2066138fc107b23
orinoco: allow IW_AUTH_MFP to pass through

The card doesn't support MFP, so silently accept DISABLED and OPTIONAL
settings.

This avoids the following failure in wpa_supplicant logs:

State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
wpa_driver_wext_associate: assoc failed because set_auth_param(IW_AUTH_MFP) failed
Association request to the driver failed

Signed-off by: David Kilroy <kilroyd@googlemail.com>
Reported by: Giacomo Comes <comes@naic.edu>

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/wext.c