summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2008-11-07 12:43:49 -0800
committerDeepak Saxena <dsaxena@laptop.org>2008-11-11 12:10:31 -0800
commit011dd3f2d6fbd75ae2aacdcf8f99ebeddf814227 (patch)
treef295f6f8575656bc47e4e772494590c18329e3df
parent59e85c5d1381f7e20263e7ca484eb2081573df5d (diff)
downloadlwn-011dd3f2d6fbd75ae2aacdcf8f99ebeddf814227.tar.gz
lwn-011dd3f2d6fbd75ae2aacdcf8f99ebeddf814227.zip
libertas: ignore unsupported auth flags
Returning -ENOSUP is confusing wpa_supplicant. Signed-off-by: Javier Cardona <javier@cozybit.com>
-rw-r--r--drivers/net/wireless/libertas/wext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c
index 62abd0c666c4..0180e8c72ecd 100644
--- a/drivers/net/wireless/libertas/wext.c
+++ b/drivers/net/wireless/libertas/wext.c
@@ -1731,6 +1731,8 @@ static int lbs_set_auth(struct net_device *dev,
case IW_AUTH_CIPHER_GROUP:
case IW_AUTH_KEY_MGMT:
case IW_AUTH_DROP_UNENCRYPTED:
+ case IW_AUTH_RX_UNENCRYPTED_EAPOL:
+ case IW_AUTH_PRIVACY_INVOKED:
/*
* libertas does not use these parameters
*/