diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ieee80211.h | 1 | ||||
-rw-r--r-- | include/net/ieee80211_crypt.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 2d9c679cf6b6..ed06a9454edc 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -434,6 +434,7 @@ struct ieee80211_device; | |||
434 | #define SEC_KEY_2 (1<<1) | 434 | #define SEC_KEY_2 (1<<1) |
435 | #define SEC_KEY_3 (1<<2) | 435 | #define SEC_KEY_3 (1<<2) |
436 | #define SEC_KEY_4 (1<<3) | 436 | #define SEC_KEY_4 (1<<3) |
437 | #define SEC_KEY_MASK (SEC_KEY_1 | SEC_KEY_2 | SEC_KEY_3 | SEC_KEY_4) | ||
437 | #define SEC_ACTIVE_KEY (1<<4) | 438 | #define SEC_ACTIVE_KEY (1<<4) |
438 | #define SEC_AUTH_MODE (1<<5) | 439 | #define SEC_AUTH_MODE (1<<5) |
439 | #define SEC_UNICAST_GROUP (1<<6) | 440 | #define SEC_UNICAST_GROUP (1<<6) |
diff --git a/include/net/ieee80211_crypt.h b/include/net/ieee80211_crypt.h index 93bf91fda82e..e2064edb957d 100644 --- a/include/net/ieee80211_crypt.h +++ b/include/net/ieee80211_crypt.h | |||
@@ -31,7 +31,7 @@ struct ieee80211_crypto_ops { | |||
31 | /* init new crypto context (e.g., allocate private data space, | 31 | /* init new crypto context (e.g., allocate private data space, |
32 | * select IV, etc.); returns NULL on failure or pointer to allocated | 32 | * select IV, etc.); returns NULL on failure or pointer to allocated |
33 | * private data on success */ | 33 | * private data on success */ |
34 | void *(*init) (int keyidx); | 34 | void *(*init) (struct ieee80211_device * ieee, int keyidx); |
35 | 35 | ||
36 | /* deinitialize crypto context and free allocated private data */ | 36 | /* deinitialize crypto context and free allocated private data */ |
37 | void (*deinit) (void *priv); | 37 | void (*deinit) (void *priv); |