diff options
author | James Ketrenos <jketreno@linux.intel.com> | 2005-09-21 12:54:22 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-21 23:01:52 -0400 |
commit | 259bf1fd8a7cc0f6b47fd8a9ac5e2dfc33182a3d (patch) | |
tree | 6c59c778280f899929c3d09c7f5564d80da830c2 /include/net/ieee80211.h | |
parent | 0ad0c3c64484b1458b51167bd3e614d8d9d070f8 (diff) |
[PATCH] ieee80211: Allow drivers to fix an issue when using wpa_supplicant with WEP
tree 898fedef6ca1b5b58b8bdf7e6d8894a78bbde4cd
parent 8720fff53090ae428d2159332b6f4b2749dea10f
author Zhu Yi <jketreno@io.(none)> 1124435746 -0500
committer James Ketrenos <jketreno@linux.intel.com> 1127312509 -0500
Allow drivers to fix an issue when using wpa_supplicant with WEP.
The problem is introduced by the hwcrypto patch. We changed indicator of
the encryption request from the upper layer (i.e. wpa_supplicant):
In the original host based crypto the driver could use: crypt &&
crypt->ops.
In the new hardware based crypto, the driver should use the flags
specified in ieee->sec.encrypt.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/net/ieee80211.h')
-rw-r--r-- | include/net/ieee80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 6cc0674e5606..c7ab7cd9de13 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -439,7 +439,7 @@ struct ieee80211_device; | |||
439 | #define SEC_UNICAST_GROUP (1<<6) | 439 | #define SEC_UNICAST_GROUP (1<<6) |
440 | #define SEC_LEVEL (1<<7) | 440 | #define SEC_LEVEL (1<<7) |
441 | #define SEC_ENABLED (1<<8) | 441 | #define SEC_ENABLED (1<<8) |
442 | #define SEC_TGI_KEY_RESET (1<<9) | 442 | #define SEC_ENCRYPT (1<<9) |
443 | 443 | ||
444 | #define SEC_LEVEL_0 0 /* None */ | 444 | #define SEC_LEVEL_0 0 /* None */ |
445 | #define SEC_LEVEL_1 1 /* WEP 40 and 104 bit */ | 445 | #define SEC_LEVEL_1 1 /* WEP 40 and 104 bit */ |