orinoco: allow IW_AUTH_MFP to pass through
commit1322cf5f15a35438673b6d7e5db7591e059c9a37
authorDavid Kilroy <kilroyd@googlemail.com>
Thu, 2 Dec 2010 18:05:49 +0000 (2 18:05 +0000)
committerDavid Kilroy <kilroyd@googlemail.com>
Sat, 11 Dec 2010 15:25:41 +0000 (11 15:25 +0000)
treee45e32401d8e8b64d715f1142c86b7a3c9c3efad
parenta1418ad8fbb98a2d19c72e10815c4abb96e52aff
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>
drivers/net/wireless/orinoco/wext.c