summaryrefslogtreecommitdiffstats
path: root/net/mac80211/key.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-18 17:29:21 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:53:00 -0700
commitea49c359f36d5b40bf033c45a08332cb73777aa2 (patch)
tree07d99bbaca451af42d633e63c9c0c20d4f2d6f79 /net/mac80211/key.c
parentf97df02e23269c7650869f6192e809f8ac1a4b39 (diff)
downloadkernel-crypto-ea49c359f36d5b40bf033c45a08332cb73777aa2.tar.gz
kernel-crypto-ea49c359f36d5b40bf033c45a08332cb73777aa2.tar.xz
kernel-crypto-ea49c359f36d5b40bf033c45a08332cb73777aa2.zip
[PATCH] mac80211: remove crypto algorithm typedef
The typedef is not required, we can just use "enum ieee80211_key_alg" instead of "ieee80211_key_alg" Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/key.c')
-rw-r--r--net/mac80211/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c
index c10e53afbb4..f13d46b2c13 100644
--- a/net/mac80211/key.c
+++ b/net/mac80211/key.c
@@ -113,7 +113,7 @@ static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key)
struct ieee80211_key *ieee80211_key_alloc(struct ieee80211_sub_if_data *sdata,
struct sta_info *sta,
- ieee80211_key_alg alg,
+ enum ieee80211_key_alg alg,
int idx,
size_t key_len,
const u8 *key_data)